Re: [Libvir] [RFC][PATCH 1/2] NUMA memory and topology patches

2007-09-26 Thread Daniel Veillard
On Mon, Sep 24, 2007 at 11:29:07PM -0400, beth kon wrote: [PATCH 1/2] - add capability to access free memory information on each NUMA cell. Signed-off-by: Beth Kon ([EMAIL PROTECTED]) -- Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: [EMAIL PROTECTED]

[Libvir] [PATCH] virsh NUMA command freecell

2007-09-26 Thread Daniel Veillard
Useful for testing the virNodeGetCellsFreeMemory() call, it requires the 3 precedent NUMA patches. The patch lack the documentation update. The function takes an optional argument which is the cell number. If no cell is provided it will print the total free memory available on the Node. A more

Re: [Libvir] [RFC][PATCH 1/2] NUMA memory and topology patches

2007-09-26 Thread Daniel Veillard
On Mon, Sep 24, 2007 at 11:29:07PM -0400, beth kon wrote: [PATCH 1/2] - add capability to access free memory information on each NUMA cell. [...] diff -urpN libvirt.danielpatch/src/xen_internal.c libvirt.cellsMemory/src/xen_internal.c --- libvirt.danielpatch/src/xen_internal.c2007-09-11

Re: [Libvir] [RFC][PATCH 1/2] NUMA memory and topology patches

2007-09-26 Thread beth kon
Daniel Veillard wrote: On Mon, Sep 24, 2007 at 11:29:07PM -0400, beth kon wrote: [PATCH 1/2] - add capability to access free memory information on each NUMA cell. [...] diff -urpN libvirt.danielpatch/src/xen_internal.c libvirt.cellsMemory/src/xen_internal.c ---

[Libvir] Re: python libvirt methods to virDomainBlockStats and virDomainInterfaceStats

2007-09-26 Thread Marco Sinhoreli
Complementing the last mail: Importing the libvirtmod the virDomainInterfaceStats, and virDomainBlockStats aren't listed (using help(libvirtmod)) Regards On 9/26/07, Marco Sinhoreli [EMAIL PROTECTED] wrote: Hello all, I'm using libvirt from cvs, and in libvirt.h there are

[Libvir] Re: python libvirt methods to virDomainBlockStats and virDomainInterfaceStats

2007-09-26 Thread Marco Sinhoreli
Investigating the source, I find the libvirtclass.txt file in libvirt-source/python directory with these contents: [...] Functions failed: virConnSetErrorFunc virDomainGetSchedulerParameters virConnectGetVersion virSetErrorFunc virDomainSetSchedulerParameters

[Libvir] trouble using ssh tunnel for remote hypervisor

2007-09-26 Thread Guillaume Rousse
Hello. I'm trying to use ssh tunnel for remote hypervisor access. However, I'm can't make it working... [EMAIL PROTECTED] ~]$ LC_ALL=C virsh --connect xen+ssh://[EMAIL PROTECTED] list --all libvir: error : could not connect to xen:// error: failed to connect to the hypervisor error: no valid

Re: [Libvir] trouble using ssh tunnel for remote hypervisor

2007-09-26 Thread Daniel P. Berrange
On Wed, Sep 26, 2007 at 11:47:40PM +0200, Guillaume Rousse wrote: Hello. I'm trying to use ssh tunnel for remote hypervisor access. However, I'm can't make it working... [EMAIL PROTECTED] ~]$ LC_ALL=C virsh --connect xen+ssh://[EMAIL PROTECTED] list --all You are missing a trailing '/'