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] DOM0_GETDOMAININFO intended behavior

To: "Kip Macy" <kip.macy@xxxxxxxxx>, "Daniel Stekloff" <dsteklof@xxxxxxxxxx>
Subject: RE: [Xen-devel] DOM0_GETDOMAININFO intended behavior
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 4 Jun 2005 09:20:03 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 04 Jun 2005 08:19:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcVonp5s/X+kCFHpQf2zthx9ejzkPwAPwplw
Thread-topic: [Xen-devel] DOM0_GETDOMAININFO intended behavior
> :-)
> I asked the same question a week or two ago and yes it is 
> intended. It provides for easy iteration. I think it is kind 
> of a hackish interface as it isn't uniform with *all* the 
> other DOM0 calls. However, it works and once you know to 
> check the domid return value your code will work as expected.

I suppose we could add a flag to indicate whether you were iterating or
wanted information on a specific domain. I think currently the only case
where we want to iterate is 'xm list'.


Xen-devel mailing list