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@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to