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

Re: [Xen-devel] Is there a way to get the current PV domain's UUID?



On Fri, 2016-02-19 at 12:44 +0200, Razvan Cojocaru wrote:
> On 02/19/2016 12:20 PM, Ian Campbell wrote:
> > On Fri, 2016-02-19 at 12:10 +0200, Razvan Cojocaru wrote:
> > > Hello,
> > > 
> > > Is there a way to get the UUID of a currently running PV domain, from
> > > within that domain?
> > 
> > The type associated with the UUID in the xen public headers is
> > "xen_domain_handle_t" which is presumably why grepping didn't find it
> > for
> > you.
> > 
> > Look for XENVER_guest_handle.
> 
> Much appreciated, that's much better than the XenStore hack.

BTW, under Linux this is also exposed to userspace viaÂ/sys/hypervisor/uuid

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®.