xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Razvan Cojocaru <rcojocaru@bitdefender.com>,
	"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: Is there a way to get the current PV domain's UUID?
Date: Fri, 19 Feb 2016 10:56:28 +0000	[thread overview]
Message-ID: <1455879388.6225.92.camel@citrix.com> (raw)
In-Reply-To: <56C6F228.7080302@bitdefender.com>

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	other threads:[~2016-02-19 10:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19 10:10 Is there a way to get the current PV domain's UUID? Razvan Cojocaru
2016-02-19 10:19 ` Razvan Cojocaru
2016-02-19 10:20 ` Ian Campbell
2016-02-19 10:44   ` Razvan Cojocaru
2016-02-19 10:56     ` Ian Campbell [this message]
2016-02-19 14:32   ` [PATCH] version: Document guest_handle Konrad Rzeszutek Wilk
2016-02-19 14:36     ` Razvan Cojocaru
2016-02-19 16:21       ` Konrad Rzeszutek Wilk
2016-02-19 16:23     ` Razvan Cojocaru
2016-02-22 12:32     ` Jan Beulich
2016-02-23 19:04       ` Konrad Rzeszutek Wilk
2016-02-24  7:46         ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455879388.6225.92.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=rcojocaru@bitdefender.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).