From mboxrd@z Thu Jan 1 00:00:00 1970 From: Razvan Cojocaru Subject: Re: Is there a way to get the current PV domain's UUID? Date: Fri, 19 Feb 2016 12:44:56 +0200 Message-ID: <56C6F228.7080302@bitdefender.com> References: <56C6EA0A.3020301@bitdefender.com> <1455877209.6225.75.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1455877209.6225.75.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org 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. Thanks, Razvan