Re: [Libvir] Scability / performance fix for virDomainLookupByID

2006-07-10 Thread Daniel Veillard
On Mon, Jul 10, 2006 at 02:37:36PM +0100, Daniel P. Berrange wrote: So my previous post considered performance when doing a single iteration over all active domains. I've now moved onto look at what happens when you do multiple iterations - eg a monitoring application sampling state every 5

Re: [Libvir] Re: Proposal : add 3 functions to Libvirt API, for virtual CPUs

2006-07-10 Thread Daniel P. Berrange
On Mon, Jul 10, 2006 at 12:44:34PM -0400, Daniel Veillard wrote: /** * virDomainGetVcpus: * @domain: pointer to domain object, or NULL for Domain0 * @info: pointer to an array of virVcpuInfo structures * @maxinfo: number of structures in info array * * Extract information

Re: [Libvir] Updated patch for hvm guests

2006-07-10 Thread Daniel P. Berrange
On Mon, Jul 10, 2006 at 09:02:32AM -0400, Daniel Veillard wrote: On Mon, Jul 10, 2006 at 06:22:39AM -0400, Daniel Veillard wrote: I have made changes to the XML conversion code to reflect this, I will commit whithin one hour or two. Attached is one example of the XML for HVM. Okay, I