[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] libxl: fix assertion failure in stub domain creation
On Wed, Feb 05, 2020 at 10:50:46AM +0000, Durrant, Paul wrote: > > From: Anthony PERARD <anthony.perard@xxxxxxxxxx> > > On Wed, Feb 05, 2020 at 09:37:24AM +0000, Paul Durrant wrote: > > > > > > - sdss->pvqemu.guest_domid = 0; > > > + sdss->pvqemu.guest_domid = INVALID_DOMID; > > > > How this works? INVALID_DOMID seems to be directly feed to > > xc_domain_create(), which is using XEN_DOMCTL_createdomain. > > But a comment in domctl.h for XEN_DOMCTL_createdomain read: > > NB. xen_domctl.domain is an IN/OUT parameter for this operation. > > If it is specified as zero, an id is auto-allocated and returned. > > So, is xc_domain_create going to create a new domain with > > domid==INVALID_DOMID? > > > > As it happens, no. That comment is wrong. It should read "If it is not set to > a valid value, an id is auto-allocated and returned". Ok, then: Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Thanks, -- Anthony PERARD _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |