This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] xenctrl domain name

To: "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xenctrl domain name
From: Ben Guthro <bguthro@xxxxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 15:06:40 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 11 Aug 2008 12:07:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <g7q2bp$go5$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <g7q2bp$go5$1@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird (X11/20080501)
Its in xenstore.

You can use xs.h via xs_read

alternaltly from the shell:
xenstore-read /local/domain/0/name

Shaun R. wrote on 08/11/2008 03:02 PM:
Are there any function in the xenctrl lib (xenctrl.h) or some where else that will provide a list of domains that also returns the domains name. I've found functions like xc_domain_getinfo and xc_domain_getinfolist that return a list of domains but they do not give the domain name. If there's not, is there a function to return the name of a domain from it's id?


Xen-devel mailing list

Xen-devel mailing list