WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-cim

Re: [Xen-cim] xm-libvirt shim

To: Jim Fehlig <jfehlig@xxxxxxxxxx>
Subject: Re: [Xen-cim] xm-libvirt shim
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Tue, 11 Apr 2006 03:11:02 -0400
Cc: xen-cim@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 11 Apr 2006 00:11:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <443A92B7.EE3A.00BE.0@xxxxxxxxxx>
List-help: <mailto:xen-cim-request@lists.xensource.com?subject=help>
List-id: xen-cim mailing list <xen-cim.lists.xensource.com>
List-post: <mailto:xen-cim@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-cim>, <mailto:xen-cim-request@lists.xensource.com?subject=unsubscribe>
References: <443A92B7.EE3A.00BE.0@xxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-cim-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Mon, Apr 10, 2006 at 07:15:36PM -0400, Jim Fehlig wrote:
> All,
> 
> Here is the xm to libvirt shim I worked on last week.  Need some way to 
> set/delete config via libvirt as discussed previously, otherwise works pretty 
> good.

  In the easy target I spot the memory target setting call, which is missing.
I will try to add this to libvirt.

  Something which surprised me is the following entry point:
    char **xm_enum_domains(struct xm *xm, unsigned int *num)
Is CIM really using ints as the identifiers for domains, not something more
solid than that (on Xen a save/restore resets to a new number for the domain).
Also there is a performance problem w.r.t. id extraction at the Xend interface
layer. If really CIM is using int as identifiers, we should try to add a
number oriented domain enumeration API to Xend.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

_______________________________________________
Xen-cim mailing list
Xen-cim@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-cim

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