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] Re: Re: xenctrl domain name

To: "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: Re: xenctrl domain name
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 11 Aug 2008 21:35:50 +0100
Delivery-date: Mon, 11 Aug 2008 13:36:15 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <g7q5k3$s92$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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acj78ddtFbCqQmflEd2BCQAWy6hiGQ==
Thread-topic: [Xen-devel] Re: Re: xenctrl domain name
User-agent: Microsoft-Entourage/
On 11/8/08 20:57, "Shaun R." <mailinglists@xxxxxxxxxxxxxxxx> wrote:

> My domains are tracked by the domain name, so if i wanted to find how much
> cpu the domain named george was using, i would now have to get a list of
> domain id's and loop through each id in the store until i found the name
> george... Or am i missing somthing?

That's what you have to do unless you can cache name information some other
way. Xen doesn't know about domain names hence it is not possible for the
libxenctrl functions to give you faster access to names via a direct
hypervisor interface.

 -- Keir

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>