|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v2 4/6] libxl: allow creation of domains with a specified or random domid
Hi Paul, On 13/01/2020 16:54, Durrant, Paul wrote: -----Original Message----- From: jandryuk@xxxxxxxxx <jandryuk@xxxxxxxxx> Sent: 13 January 2020 16:16 To: Durrant, Paul <pdurrant@xxxxxxxxxxxx> Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>; Anthony PERARD <anthony.perard@xxxxxxxxxx>; Ian Jackson <ian.jackson@xxxxxxxxxxxxx>; Wei Liu <wl@xxxxxxx> Subject: Re: [Xen-devel] [PATCH v2 4/6] libxl: allow creation of domains with a specified or random domid On Thu, Jan 9, 2020 at 6:50 AM Paul Durrant <pdurrant@xxxxxxxxxx> wrote:This patch adds a 'domid' field to libxl_domain_create_info and then modifies do_domain_create() to use that value if it is valid. Any valid domid will be checked against the retired domid list before being passed to libxl__domain_make(). If the domid value is invalid then Xen will choose the domid, as before, unless the value is the new special RANDOM_DOMID value added to the API. This value instructs libxl__domain_make() to select a random domidvalue,check it for validity, verify it does not match a retired domain, andthenpass it to Xen's XEN_DOMCTL_createdomain operation. If Xen determinesthat Not really, there are technically nothing (other than bug fixes) preventing us to use a big endian guest on Xen on Arm. I actually did play with big endian on Xen in the past and managed to get a guest running. The main annoying part is Linux as it is assuming to use the same endian as the hypervisor. But other OS may not have this issues... The hypervisor itself is likely going to stay little endian, so does the interface. For the tools, we should aim to not introduce more assumption that the software will be little endian. Cheers, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |