Re: [Libvir] Re: [PATCH] add no_tty flag for ssh

2007-09-21 Thread Daniel Veillard
On Thu, Sep 20, 2007 at 08:06:22PM +0100, Richard W.M. Jones wrote: Daniel P. Berrange wrote: On Thu, Sep 20, 2007 at 01:10:28PM +0100, Richard W.M. Jones wrote: Daniel P. Berrange wrote: The use of '-o PasswordAuthentication=no' isn't sufficient because even with pulic key / gssapi auth

[Libvir] How to deploy Virtual Machine via libvirt

2007-09-21 Thread Omer Khalid
Hi, I have been using libvirt in my python software for a while just to get deployed domain information. Usually I create a xen configuration file with all the parameters and trigger a xm create -f file command to deploy the VM. The problem I have noticed since some time is that as this command

Re: [Libvir] How to deploy Virtual Machine via libvirt

2007-09-21 Thread Richard W.M. Jones
Omer Khalid wrote: Hi, I have been using libvirt in my python software for a while just to get deployed domain information. Usually I create a xen configuration file with all the parameters and trigger a xm create -f file command to deploy the VM. The problem I have noticed since some

Re: [Libvir] RFC PATCH - Initial NodeGetCellsFreeMemory patch

2007-09-21 Thread Daniel Veillard
On Thu, Sep 20, 2007 at 05:10:49PM -0400, beth kon wrote: Here is my first pass at a patch for accessing the available memory associated with each NUMA cell through libvirt. Thanks ! The initial framework patch provided by Daniel Veillard is a prereq of this patch:

Re: [Libvir] How to deploy Virtual Machine via libvirt

2007-09-21 Thread Richard W.M. Jones
Omer Khalid wrote: Hi, If you already have the guest and just want to start it up, then call virDomainDefineXML followed by virDomainCreate in libvirt. What is the XML file format? And for the virDomainCreate function, what would be the domain parameter in Python? The XML format is

Re: [Libvir] RFC PATCH - Initial NodeGetCellsFreeMemory patch

2007-09-21 Thread beth kon
oops... meant to post to list as well beth kon wrote: Daniel Veillard wrote: On Thu, Sep 20, 2007 at 05:10:49PM -0400, beth kon wrote: Here is my first pass at a patch for accessing the available memory associated with each NUMA cell through libvirt. Thanks ! Thanks for the quick

Re: [Libvir] RFC PATCH - Initial NodeGetCellsFreeMemory patch

2007-09-21 Thread beth kon
Richard W.M. Jones wrote: beth kon wrote: Comments on the code itself: + * @freeMems: pointer to the array of long long + * @startCell: index of first cell to return freeMems info on (0 to + * maxCells - 1). + * @maxCells: number of entries available in freeMems (-1 for sum of

Re: [Libvir] RFC PATCH - Initial NodeGetCellsFreeMemory patch

2007-09-21 Thread Daniel Veillard
On Fri, Sep 21, 2007 at 10:59:01AM -0400, beth kon wrote: oops... meant to post to list as well beth kon wrote: and my reply, I didn't realized it was off-list :-) On Fri, Sep 21, 2007 at 09:44:36AM -0400, beth kon wrote: Daniel Veillard wrote: On Thu, Sep 20, 2007 at 05:10:49PM -0400,

Re: [Libvir] PATCH 4/5: Change compiler flags detection

2007-09-21 Thread Richard W.M. Jones
Daniel P. Berrange wrote: I'd appreciate someone with a Debian box verifying this theory... Theory verified ... Rich. -- Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/ Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE,