[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 5/5] sched/arinc653: Implement CAST-32A multicore scheduling



On 16/09/2020 19:18, Jeff Kubascik wrote:
> +/*
> + * A handle with all zeros represents domain 0 if present, otherwise idle 
> UNIT
> + */
> +#define DOM0_HANDLE ((const xen_domain_handle_t){0})

This isn't accurate.

There are systems where dom0 doesn't have a zero UUID (XenServer for
one), and its easy to create domU's which have a zero UUID.  They are
not unique, and can be changed at any time during the running of the VM.

If you need a unique identifier, then use domid's.

I can't see any legitimate need for the scheduler to handle the UUID at all.

~Andrew



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.