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

Re: [Xen-devel] [PATCH 5/6] tools/libxl: Allow dom0 to be destroyed



Daniel De Graaf writes ("Re: [PATCH 5/6] tools/libxl: Allow dom0 to be 
destroyed"):
> On 03/13/2014 01:17 PM, Ian Jackson wrote:
> > What does XEN_DOMCTL_getdomaininfo do when passed DOMID_SELF ?
...
> It returns -ESRCH. The domain passed in is a lower bound for the domain
> ID, and is not resolved using the usual domid resolution function.

How annoying.

> One possible method for a domain to determine its own domain ID is to
> create an unbound inter-domain event channel to DOMID_SELF and then use
> EVTCHNOP_status to read the now-resolved endpoint.  This seems rather
> cumbersome to implement: the toolstack only exposes this as far as
> xc_evtchn_status, so libxl would need modification in addition to xl.

Glrghk.

OK, I'm persuaded that your original proposal, to require -f to
destroy dom0, is the best approach for now at least.

Thanks,
Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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