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-API] New API Document and C Bindings

To: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: Re: [Xen-API] New API Document and C Bindings
From: John Levon <john.levon@xxxxxxx>
Date: Fri, 15 Sep 2006 16:37:46 +0100
Cc: Xen-API <xen-api@xxxxxxxxxxxxxxxxxxx>, xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 15 Sep 2006 08:32:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060915150007.GF13130@xxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <20060915143233.GC13130@xxxxxxxxxx> <OFE3D71ED0.15C052A4-ON852571EA.00501DCA-852571EA.005161C9@xxxxxxxxxx> <20060915150007.GF13130@xxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.6i
On Fri, Sep 15, 2006 at 04:00:07PM +0100, Daniel P. Berrange wrote:

> > Thanks. So if John's "class hierarchy" were really a recursive 
> > representation (as mentioned previously), that would be equivalent to your 
> > "overlapping sets"? e.g., host_CPUs == VCPUs on a domU.
> No they are not equivalent. There are scenarios you can represent with
> overlapping sets which you can't represent in a hierarchy.  Consider
> three sets  A, B, C.  A overlaps with B, B overlaps with C, and C overlaps
> with A - there's no way to represent that as a hierarchy - hierarchies
> can only represent directed, a-cyclic graphs - overlapping sets are 
> non-directional cyclic graphs.

Well, that wasn't really what I meant. Merely that there's a general notion of
domain, then some further specification. And a set of flags meets this model
just fine, it's not necessary to explicitly model class relationships in the


xen-api mailing list