From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ian Pratt" Subject: RE: DOM0_GETDOMAININFO intended behavior Date: Sat, 4 Jun 2005 09:20:03 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kip Macy , Daniel Stekloff Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org =20 > :-) > I asked the same question a week or two ago and yes it is=20 > intended. It provides for easy iteration. I think it is kind=20 > of a hackish interface as it isn't uniform with *all* the=20 > other DOM0 calls. However, it works and once you know to=20 > 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'. Ian