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

[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 conn

[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 virConnCopyLa

[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 > virDomainBlock

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 --- libvirt.danielpatch

[Libvir] python libvirt methods to virDomainBlockStats and virDomainInterfaceStats

2007-09-26 Thread Marco Sinhoreli
Hello all, I'm using libvirt from cvs, and in libvirt.h there are virDomainBlockStats, and virDomainInterfaceStats calls. I think it is compiled into libvirtmod, then I'm trying to write two methods, blockStats, and interfacesStats in the class virDomain at the libvirt.py library file. I'm not a s

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. Signed-off-by: Beth Kon ([EMAIL PROTECTED]) -- Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: [E

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-0

[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 u

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 PROT