Re: [libvirt] [PATCH 10/14] Convert NEWS to UTF-8

2009-07-29 Thread Mark McLoughlin
On Tue, 2009-07-28 at 21:45 +0200, Daniel Veillard wrote: The proper fix is actually to change docs/news.xsl top level xsl:output method=text encoding=ISO-8859-1/ into xsl:output method=text encoding=UTF8/ Okay, pushing the attached patch Cheers, Mark. From: Mark McLoughlin

[libvirt] [PATCH 15/14] No need to build require both python-devel and python

2009-07-29 Thread Mark McLoughlin
Since python-devel requires python Pointed out by Itamar Reis Peixoto --- libvirt.spec.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 976ef8f..6228d0b 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -82,7 +82,7 @@ Group:

[libvirt] [PATCH] Fix trailing whitespace in NEWS

2009-07-29 Thread Mark McLoughlin
Hey, I had to commit this before I could push Cheers, Mark. From c3c4bd4e75eee4409674d8d338462b30db795315 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin mar...@redhat.com Date: Wed, 29 Jul 2009 08:58:59 +0100 Subject: [PATCH] Fix trailing whitespace in NEWS git wouldn't let me push without this

Re: [libvirt] PATCH: Fix remote domain events deadlock

2009-07-29 Thread Daniel Veillard
On Tue, Jul 28, 2009 at 05:47:57PM +0100, Daniel P. Berrange wrote: There is a deadlock in the remote driver's dispatch code for domain events. If your callback triggers a API call that does an RPC call, then the driver will deadlock. The fix is the same as we did in the QEMU driver. We releae

[libvirt] [PATCH 1/3] Move ldconfig calls to libvirt-client %post/%postun

2009-07-29 Thread Mark McLoughlin
Now that the library has moved to libvirt-client --- libvirt.spec.in |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 6228d0b..b79e766 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -411,7 +411,6 @@ chmod 0644

[libvirt] [PATCH 2/3] Capilize libvirt-client summary

2009-07-29 Thread Mark McLoughlin
Fixes: W: summary-not-capitalized client side library and utilities of the libvirt library --- libvirt.spec.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b79e766..e0ba02c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in

Re: [libvirt] [PATCH] libvirt-glib: add missing details argument to callbacks

2009-07-29 Thread Daniel P. Berrange
On Wed, Jul 29, 2009 at 03:44:07AM +0200, Guido G?nther wrote: On Wed, Jul 22, 2009 at 12:16:27PM +0200, Guido Günther wrote: Hi, the python example is lacking the details argument in the callback. This makes the example fail due to the wrong number of arguments. Cheers, -- Guido

[libvirt] Re: [fedora-virt] ANNOUNCE: New release virt-manager 0.8.0

2009-07-29 Thread SAL
Hello, new virt-manager looks nice and is working well for me, but I have some comments: - gray color for Not Connected hosts looks a bit cold. I have aprox 10 hosts configured and whole screen is cold. May be it will be nicer to add an image, like for running/stopped guest and also

Re: [libvirt] Re: [fedora-virt] ANNOUNCE: New release virt-manager 0.8.0

2009-07-29 Thread Tom Hughes
On 29/07/09 11:21, Ján ONDREJ (SAL) wrote: And one thing, which can make me happy. When I am trying virtual machines, I often reinstall existing one. Then I need to boot from network and after installation again from disk. I can't test new gPXE until it will work with my F11 kernel, may be it's

Re: [libvirt] Re: [fedora-virt] ANNOUNCE: New release virt-manager 0.8.0

2009-07-29 Thread Ján ONDREJ (SAL)
On Wed, Jul 29, 2009 at 11:30:41AM +0100, Tom Hughes wrote: On 29/07/09 11:21, Ján ONDREJ (SAL) wrote: And one thing, which can make me happy. When I am trying virtual machines, I often reinstall existing one. Then I need to boot from network and after installation again from disk. I can't

Re: [libvirt] [PATCH] libvirt-glib: add missing details argument to callbacks

2009-07-29 Thread Guido Günther
On Wed, Jul 29, 2009 at 10:33:12AM +0100, Daniel P. Berrange wrote: [..snip..] FYI, my libvirt-glib work is temporarily on hold due to lack of time. As such I've just pulled the event loop code directly into the virt-viewer application, so I can do a release of virt-viewer without needing

Re: [libvirt] [PATCH] libvirt-glib: add missing details argument to callbacks

2009-07-29 Thread Daniel P. Berrange
On Wed, Jul 29, 2009 at 01:24:24PM +0200, Guido G?nther wrote: On Wed, Jul 29, 2009 at 10:33:12AM +0100, Daniel P. Berrange wrote: [..snip..] FYI, my libvirt-glib work is temporarily on hold due to lack of time. As such I've just pulled the event loop code directly into the virt-viewer

Re: [libvirt] RFC: libvirt java bindings based on JNA

2009-07-29 Thread Thomas Treutner
On Wednesday 29 July 2009 13:49:45 Bryan Kearney wrote: Thomas Treutner wrote: On Tuesday 28 July 2009 14:42:42 Bryan Kearney wrote: Thomas Treutner wrote: When using it with my tiny test application (which works fine with the JNI version), it first complains that /etc/pki/CA/cacert.pem

Re: [libvirt] Debug the username/passwords

2009-07-29 Thread Daniel P. Berrange
On Tue, Jul 28, 2009 at 04:58:17PM -0400, Bryan Kearney wrote: Hopefully this is the last question I have on the Java drivers. I am trying to debug the callback from openAuth(). I am passing back what I think is valid information, but I see in /var/log/messages the following: Jul 28

Re: [libvirt] Pre-0.7.0 release for testing

2009-07-29 Thread Nikola Ciprich
Hi Daniel, I tried this release with qemu-kvm-0.10.5 and I was not able to start any vm unless I applied Ryota's patch ([PATCH] qemu: fix monitor socket reconnection) Maybe it would be usefull to release next testing release with this patch included. Apart from that, it seems to work for me,

Re: [libvirt] [PATCH] qemu: fix monitor socket reconnection

2009-07-29 Thread Daniel P. Berrange
On Wed, Jul 29, 2009 at 12:09:44AM +0900, Ryota Ozaki wrote: Hi, This patch fixes a handling of a qemu monitor unix socket. Current code addresses 'Socket may not have shown up yet' case with catching EACCES of connect(2), however, in that case, an errno which should be catched is ENOENT,

Re: [libvirt] Debug the username/passwords

2009-07-29 Thread Bryan Kearney
Daniel P. Berrange wrote: On Tue, Jul 28, 2009 at 04:58:17PM -0400, Bryan Kearney wrote: Hopefully this is the last question I have on the Java drivers. I am trying to debug the callback from openAuth(). I am passing back what I think is valid information, but I see in /var/log/messages the

[libvirt] [PATCH] Remove MAX_TAP_ID

2009-07-29 Thread Aron Griffis
As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop and the MAX_TAP_ID artificial limit. This patch allows me to get 421 guests running before hitting other limits. Signed-off-by: Aron Griffis

Re: [libvirt] [PATCH] libvirt-glib: add missing details argument to callbacks

2009-07-29 Thread Guido Günther
On Wed, Jul 29, 2009 at 12:50:17PM +0100, Daniel P. Berrange wrote: On Wed, Jul 29, 2009 at 01:24:24PM +0200, Guido G?nther wrote: On Wed, Jul 29, 2009 at 10:33:12AM +0100, Daniel P. Berrange wrote: [..snip..] FYI, my libvirt-glib work is temporarily on hold due to lack of time. As

Re: [libvirt] [PATCH 1/3] Move ldconfig calls to libvirt-client %post/%postun

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 10:09:34AM +0100, Mark McLoughlin wrote: Now that the library has moved to libvirt-client --- libvirt.spec.in |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) Ah, right ! ACK, Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit

Re: [libvirt] [PATCH 3/3] Fix polkit/netcf disabling on older fedoras

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 10:09:36AM +0100, Mark McLoughlin wrote: polkit was disabled by default for a reason - because we selectively enable it on newer fedoras rather than disable it on older fedoras Same fix needed for netcf Okay, ACK, please push, not I will probably push out another

[libvirt] VMware support and Server 2.0.1

2009-07-29 Thread Timo Makinen
I tested libvirt with VMware Server 2.0.1 (not ESX). Server starts http on port 8333 as default and libvirt api did not have any option to give port number when connecting. Maybe connecting should be changed to support uris like: esx://host:123/ Next i tried to hardcode port into libvirt and

[libvirt] [PATCH] Remove MAX_TAP_ID, take 2

2009-07-29 Thread Aron Griffis
(Sorry, my first posting included some gnulib droppings in the patch. This removes that, everything else is the same.) As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop and the MAX_TAP_ID artificial limit.

[libvirt] [PATCH] Remove MAX_TAP_ID

2009-07-29 Thread Aron Griffis
As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop and the MAX_TAP_ID artificial limit. This patch allows me to get 421 guests running before hitting other limits. Signed-off-by: Aron Griffis

Re: [libvirt] [PATCH] qemu: fix monitor socket reconnection

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 12:09:44AM +0900, Ryota Ozaki wrote: Hi, This patch fixes a handling of a qemu monitor unix socket. Current code addresses 'Socket may not have shown up yet' case with catching EACCES of connect(2), however, in that case, an errno which should be catched is ENOENT,

Re: [libvirt] [PATCH] qemu: fix monitor socket reconnection

2009-07-29 Thread Cole Robinson
On 07/29/2009 08:35 AM, Daniel P. Berrange wrote: On Wed, Jul 29, 2009 at 12:09:44AM +0900, Ryota Ozaki wrote: Hi, This patch fixes a handling of a qemu monitor unix socket. Current code addresses 'Socket may not have shown up yet' case with catching EACCES of connect(2), however, in that

Re: [libvirt] Pre-0.7.0 release for testing

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 02:29:24PM +0200, Nikola Ciprich wrote: Hi Daniel, I tried this release with qemu-kvm-0.10.5 and I was not able to start any vm unless I applied Ryota's patch ([PATCH] qemu: fix monitor socket reconnection) Maybe it would be usefull to release next testing release with

Re: [libvirt] VMware support and Server 2.0.1

2009-07-29 Thread Matthias Bolte
2009/7/27 Timo Makinen tmaki...@ee.oulu.fi: I tested libvirt with VMware Server 2.0.1 (not ESX). Server starts http on port 8333 as default and libvirt api did not have any option to give port number when connecting. Maybe connecting should be changed to support uris like: esx://host:123/

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 2

2009-07-29 Thread Daniel P. Berrange
On Wed, Jul 29, 2009 at 12:27:58AM -0400, Aron Griffis wrote: (Sorry, my first posting included some gnulib droppings in the patch. This removes that, everything else is the same.) As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 2

2009-07-29 Thread Aron Griffis
Daniel P. Berrange wrote: [Wed Jul 29 2009, 12:32:08PM EDT] On Wed, Jul 29, 2009 at 12:27:58AM -0400, Aron Griffis wrote: (Sorry, my first posting included some gnulib droppings in the patch. This removes that, everything else is the same.) As far as I can tell, there's no reason to

[libvirt] [PATCH] Remove MAX_TAP_ID, take 3

2009-07-29 Thread Aron Griffis
This is a resend of take 2 to fix formatting problems in the patch. No other changes. As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop and the MAX_TAP_ID artificial limit. This patch allows me to get 421

Re: [libvirt] [PATCH] Remove MAX_TAP_ID

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 08:35:23AM -0400, Aron Griffis wrote: As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop and the MAX_TAP_ID artificial limit. This patch allows me to get 421 guests running before

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 3

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 12:52:30PM -0400, Aron Griffis wrote: This is a resend of take 2 to fix formatting problems in the patch. No other changes. As far as I can tell, there's no reason to format the device string in brAddTap(). Delegate the job to TUNSETIFF, thereby removing the loop

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 2

2009-07-29 Thread Mark McLoughlin
On Wed, 2009-07-29 at 17:32 +0100, Daniel P. Berrange wrote: On Wed, Jul 29, 2009 at 12:27:58AM -0400, Aron Griffis wrote: (Sorry, my first posting included some gnulib droppings in the patch. This removes that, everything else is the same.) As far as I can tell, there's no reason to

Re: [libvirt] [PATCH] Remove MAX_TAP_ID

2009-07-29 Thread Aron Griffis
Daniel Veillard wrote: [Wed Jul 29 2009, 02:04:08PM EDT] please drop the Signed Off By, we don't use it, just save as a patch and send it as an attachment, I'll keep this in mind, thanks. Aron -- Libvir-list mailing list Libvir-list@redhat.com

[libvirt] ANNOUNCE: Java Libvirt bindings version 0.3.0

2009-07-29 Thread Bryan Kearney
I am happy to announce the availability of version 0.3.0 of the Libvirt Java bindings. The main change in this release is the use of JNA [1] to access the Libvirt C code instead of JNI. This results in all the glue code being pure Java which should make it easier to keep these bindings in sync

[libvirt] [PATCH] Modify the java bindings html page to reflect the new repositories, JNA, and maven access

2009-07-29 Thread Bryan Kearney
--- docs/java.html.in | 109 +++-- 1 files changed, 55 insertions(+), 54 deletions(-) diff --git a/docs/java.html.in b/docs/java.html.in index 2d9a24f..b0db2e2 100644 --- a/docs/java.html.in +++ b/docs/java.html.in @@ -4,10 +4,9 @@ h1Java API

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 3

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 08:05:37PM +0200, Daniel Veillard wrote: On Wed, Jul 29, 2009 at 12:52:30PM -0400, Aron Griffis wrote: This is a resend of take 2 to fix formatting problems in the patch. No other changes. As far as I can tell, there's no reason to format the device string in

Re: [libvirt] [PATCH] Modify the java bindings html page to reflect the new repositories, JNA, and maven access

2009-07-29 Thread Daniel Veillard
On Wed, Jul 29, 2009 at 04:33:47PM -0400, Bryan Kearney wrote: --- docs/java.html.in | 109 +++-- 1 files changed, 55 insertions(+), 54 deletions(-) Okay, makes sense, I just fixed a trailing white space and also commited the resulting

Re: [libvirt] VMware support and Server 2.0.1

2009-07-29 Thread Matthias Bolte
2009/7/29 Timo Makinen tmaki...@ee.oulu.fi: On Wed, Jul 29, 2009 at 06:12:59PM +0200, Matthias Bolte wrote: 2009/7/27 Timo Makinen tmaki...@ee.oulu.fi: [...] The dumpxml seems to be failing with this config option: ethernet0.connectionType = custom without this it works correctly. Ah, I

Re: [libvirt] RFC: libvirt java bindings based on JNA

2009-07-29 Thread Bryan Kearney
Can you try the new release? It is cleaned up.. and should be easier to consume. Let me know if there are issues. -- bk Thomas Treutner wrote: On Wednesday 29 July 2009 13:49:45 Bryan Kearney wrote: Thomas Treutner wrote: On Tuesday 28 July 2009 14:42:42 Bryan Kearney wrote: Thomas

Re: [libvirt] [PATCH] Remove MAX_TAP_ID, take 3

2009-07-29 Thread Aron Griffis
Matthias Bolte wrote: [Wed Jul 29 2009, 08:58:18PM EDT] 2009/7/29 Daniel Veillard veill...@redhat.com: On Wed, Jul 29, 2009 at 08:05:37PM +0200, Daniel Veillard wrote: On Wed, Jul 29, 2009 at 12:52:30PM -0400, Aron Griffis wrote: This is a resend of take 2 to fix formatting problems in