Re: [libvirt] libvirt: python bindings

2010-01-29 Thread Pierre Riteau
On 28 janv. 2010, at 19:11, Daniel P. Berrange wrote: On Thu, Jan 28, 2010 at 05:52:45PM +, Sharadha Prabhakar (3P) wrote: Hi, I'm writing XenServer APIs for libvirt and trying to test it on virt-Manager. I need to build the libvirt python bindings for that. I tried this for libvirt.

Re: [libvirt] Schedule for libvirt-0.7.6

2010-01-29 Thread Daniel P. Berrange
On Fri, Jan 15, 2010 at 09:35:53PM +0100, Daniel Veillard wrote: So the plan is still to start the feature freeze end of next friday the 22 Jan and try to push 0.7.6 on the 29th. Due to unforseen problems with QEMU + network device hotplug we need to delay this release by a few days. I'm

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread Bryan Kearney
I posted a patched jar file at: http://bkearney.fedorapeople.org/libvirt-0.4.1-PATCH.jar The only change was making the struct into a union per your comments. Can you let me now if this solves you NPE? It passes my tests. -- bk On 01/27/2010 08:40 PM, Bryan Kearney wrote: Alright.. let me

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread frederic.dangtran
Yes it works. No longer any NPE when I invoke getSchedulerParameters() on a Xen domain: I can retrieve both the scheduling cap and weight. I guess the problem pops up only when there are more than 1 sched parameter to return with the unmarshalling of the second one going wrong. Frederic On

Re: [libvirt] Release 0.4.1 of libvirt-java

2010-01-29 Thread Bryan Kearney
Great. I will work on a 0.4.2 release today and send it out. -- bk On 01/29/2010 10:37 AM, frederic.dangt...@orange-ftgroup.com wrote: Yes it works. No longer any NPE when I invoke getSchedulerParameters() on a Xen domain: I can retrieve both the scheduling cap and weight. I guess the problem

[libvirt] Release 0.4.2 of libvirt-java

2010-01-29 Thread Bryan Kearney
I have just released 0.4.2 of libvirt java. This release fixes the NPE in xen Scheduled Parameters which was reported by Frederic Dangtran. You can access the latest version via the following means: Source Code: http://www.libvirt.org/git/?p=libvirt-java.git;a=summary Bundled Source (tarball

[libvirt] vshRunConsole:77 : unable to open tty

2010-01-29 Thread Ruben Kerkhof
Hi all, I'm unable to open a serial console to a kvm virtual machine with virsh console: [r...@phy003 ~]# virsh console f12 Connected to domain f12 Escape character is ^] 20:43:48.282: error : vshRunConsole:77 : unable to open tty /dev/pts/ 1 : No such file or directory If you look

Re: [libvirt] libvirt: build error

2010-01-29 Thread Matthias Bolte
2010/1/28 Sharadha Prabhakar (3P) sharadha.prabha...@citrix.com: Hi, I’m getting the following error when I make libvirt version 0.7.4 Make all-recursive make[1]: Entering directory `/home/sharadhap/libvirt-0.7.4' Making all in gnulib/lib make[2]: Entering directory

Re: [libvirt] vshRunConsole:77 : unable to open tty

2010-01-29 Thread Matthias Bolte
2010/1/29 Ruben Kerkhof ru...@rubenkerkhof.com: Hi all, I'm unable to open a serial console to a kvm virtual machine with virsh console: [r...@phy003 ~]# virsh console f12 Connected to domain f12 Escape character is ^] 20:43:48.282: error : vshRunConsole:77 : unable to open tty /dev/pts/1

Re: [libvirt] [PATCH] util.c (virGetUserEnt): don't use a negative value as allocation size

2010-01-29 Thread Matthias Bolte
2010/1/28 Jim Meyering j...@meyering.net: Not a big deal, but reporting a failed sysconf call will make this far easier to diagnose than reporting an unwarranted OOM. From 2bf48c9414cac791f03228ff15590414ec617f22 Mon Sep 17 00:00:00 2001 From: Jim Meyering meyer...@redhat.com Date: Thu, 28

Re: [libvirt] [PATCH] Log flags in virConnectCompareCPU

2010-01-29 Thread Matthias Bolte
2010/1/27 Jiri Denemark jdene...@redhat.com: Signed-off-by: Jiri Denemark jdene...@redhat.com ---  src/libvirt.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/libvirt.c b/src/libvirt.c index 32f9fc4..8a9ee20 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@

Re: [libvirt] [PATCH] util.c (virGetUserEnt): don't use a negative value as allocation size

2010-01-29 Thread Jim Meyering
Matthias Bolte wrote: Subject: [PATCH] util.c (virGetUserEnt): don't use a negative value as allocation size * src/util/util.c (virGetUserEnt): In the unlikely event that sysconf(_SC_GETPW_R_SIZE_MAX) fails, don't use -1 as the size in the subsequent allocation. ... ACK. Thanks. Pushed.

Re: [libvirt] [PATCH] maint: fix spelling error in hacking

2010-01-29 Thread Matthias Bolte
2010/1/27 Eric Blake e...@byu.net: * HACKING: STRCASEEQ is case insensitive. * docs/hacking.html.in: Likewise. --- ACK. I pushed it, thanks. Matthias -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

Re: [libvirt] vshRunConsole:77 : unable to open tty

2010-01-29 Thread Ruben Kerkhof
On Jan 29, 2010, at 9:09 PM, Matthias Bolte wrote: 2010/1/29 Ruben Kerkhof ru...@rubenkerkhof.com: Hi all, I'm unable to open a serial console to a kvm virtual machine with virsh console: [r...@phy003 ~]# virsh console f12 Connected to domain f12 Escape character is ^] 20:43:48.282: