Re: [libvirt] Availability of Release Candidate 2 for 1.0.0

2012-10-29 Thread Doug Goldstein
On Sun, Oct 28, 2012 at 10:19 PM, Daniel Veillard veill...@redhat.com wrote: The tree is now tagged (v1.0.0-rc2) and the tarball (and rpms) are available at the usual place: ftp://libvirt.org/libvirt/ It seems to work correctly with my limited testing, but please give it a try, and

[libvirt] [PATCH] gitignore: ignore more files

2012-10-29 Thread liguang
ignore *.patch, cscope.po.out, cscope.in.out Signed-off-by: liguang lig.f...@cn.fujitsu.com --- .gitignore |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 1cd2d45..d2d6657 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ *.pyc

Re: [libvirt] [Gluster-devel] [PATCH v3 UPDATED 1/2] Qemu/Gluster: Add Gluster protocol as supported network disk formats.

2012-10-29 Thread Amar Tumballi
On 10/27/2012 11:29 AM, Bharata B Rao wrote: On Fri, Oct 26, 2012 at 10:27 PM, Harsh Prateek Bora ha...@linux.vnet.ibm.com wrote: @@ -1624,7 +1626,15 @@ td one of the sheepdog servers (default is localhost:7000) /td td zero or one /td /tr + tr +

Re: [libvirt] [PATCH] gitignore: ignore more files

2012-10-29 Thread Martin Kletzander
On 10/29/2012 07:07 AM, liguang wrote: ignore *.patch, cscope.po.out, cscope.in.out Signed-off-by: liguang lig.f...@cn.fujitsu.com --- .gitignore |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/.gitignore b/.gitignore index 1cd2d45..d2d6657 100644 ---

Re: [libvirt] [PATCHv2] xml: print uuids or shell-escaped names in the warning

2012-10-29 Thread Jiri Denemark
On Thu, Oct 25, 2012 at 16:37:37 +0200, Ján Tomko wrote: In the XML warning, this prints uuids for domain names with special characters in them and shell-escaped names for other elements (like snapshosts and networks) with special names. --- When saving snapshots, the domain name is appended

Re: [libvirt] [PATCH] gitignore: ignore more files

2012-10-29 Thread Michal Privoznik
On 29.10.2012 10:00, Martin Kletzander wrote: On 10/29/2012 07:07 AM, liguang wrote: ignore *.patch, cscope.po.out, cscope.in.out Signed-off-by: liguang lig.f...@cn.fujitsu.com --- .gitignore |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/.gitignore

[libvirt] [PATCHv2 7/6] net: Mark network persistent when assigning persistent definition

2012-10-29 Thread Peter Krempa
When assigning the new persistent definition for a transient network (thus making it persistent) the network needs to be marked persistent before actually atempting to assign the definition. --- src/network/bridge_driver.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

Re: [libvirt] Can we run guest OS without using NAT and iptables?

2012-10-29 Thread Stefan Hajnoczi
On Mon, Oct 29, 2012 at 12:55:43PM +0530, freak 62 wrote: Can we run guest o.s. on KVM without enabling NAT and iptables? The reason to do this is , I wanted to disable conntrack module from my system and to disable that I must have to delete iptable and NAT. I am getting the

Re: [libvirt] [PATCHv2] xml: print uuids or shell-escaped names in the warning

2012-10-29 Thread Peter Krempa
On 10/29/12 10:38, Jiri Denemark wrote: On Thu, Oct 25, 2012 at 16:37:37 +0200, Ján Tomko wrote: In the XML warning, this prints uuids for domain names with special characters in them and shell-escaped names for other elements (like snapshosts and networks) with special names. --- When saving

Re: [libvirt] [PATCHv2] xml: print uuids or shell-escaped names in the warning

2012-10-29 Thread Martin Kletzander
On 10/29/2012 10:38 AM, Jiri Denemark wrote: On Thu, Oct 25, 2012 at 16:37:37 +0200, Ján Tomko wrote: In the XML warning, this prints uuids for domain names with special characters in them and shell-escaped names for other elements (like snapshosts and networks) with special names. --- When

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-29 Thread Daniel P. Berrange
On Fri, Oct 26, 2012 at 08:09:54AM +0200, Václav Pavlín wrote: Eric Blake píše v Čt 25. 10. 2012 v 10:41 -0600: Hello, Ah, then maybe you did answer the big question. Except that I don't see the updated patch - did you forget to attach it? Sure, I did forgot, sorry. Here it is...

[libvirt] [PATCH] Create temporary dir for socket

2012-10-29 Thread Guido Günther
to avoid ENAMETOOLONG: https://buildd.debian.org/status/fetch.php?pkg=libvirtarch=amd64ver=1.0.0~rc1-1stamp=1351453521 --- tests/qemumonitortestutils.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/tests/qemumonitortestutils.c

[libvirt] [PATCH v3] xml: print uuids in the warning

2012-10-29 Thread Ján Tomko
In the XML warning, we print a virsh command line that can be used to edit that XML. This patch prints UUIDs if the entity name contains special characters (like shell metacharacters, or -- that would break parsing of the XML comment). If the entity doesn't have a UUID, just print the virsh

Re: [libvirt] dhcp6, radvd, ip6tables, etc. (update)

2012-10-29 Thread Gene Czarcinski
On 10/27/2012 03:18 PM, Gene Czarcinski wrote: OK, I have the basic implementation for libvirt support of dhcp6. Let me say again that 98% of the work was already done. There is still a bunch of work today which includes writing some tests, understanding how things such as bootp, dhcp-host,

Re: [libvirt] [PATCH v3] xml: print uuids in the warning

2012-10-29 Thread Peter Krempa
On 10/29/12 13:15, Ján Tomko wrote: In the XML warning, we print a virsh command line that can be used to edit that XML. This patch prints UUIDs if the entity name contains special characters (like shell metacharacters, or -- that would break parsing of the XML comment). If the entity doesn't

[libvirt] [PATCH] util: Re-format literal strings in virXMLEmitWarning

2012-10-29 Thread Peter Krempa
And drop a stray space at the end of the first line of the warning. --- Yes, some lines exceed 80 columns. --- src/util/xml.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/util/xml.c b/src/util/xml.c index dad9227..30323b3 100644 --- a/src/util/xml.c +++

Re: [libvirt] [PATCH] util: Re-format literal strings in virXMLEmitWarning

2012-10-29 Thread Daniel P. Berrange
On Mon, Oct 29, 2012 at 03:22:05PM +0100, Peter Krempa wrote: And drop a stray space at the end of the first line of the warning. --- Yes, some lines exceed 80 columns. --- src/util/xml.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/src/util/xml.c

Re: [libvirt] [PATCH 0/2] qemu: Fix address/ is ignored for USB disks

2012-10-29 Thread Daniel P. Berrange
On Fri, Oct 26, 2012 at 09:08:41AM +, Vladislav Bogdanov wrote: This is a follow-up to https://bugzilla.redhat.com/show_bug.cgi?id=861309 If one has USB disks configured for domain with explicit address/, libvirtd ignores that node when building qemu command line. So, disk is connected to

Re: [libvirt] libvirt can not get right stats of a rbd pool

2012-10-29 Thread Daniel P. Berrange
On Fri, Oct 26, 2012 at 11:04:05AM +0800, yue wrote: Allocation exceed Capacity ,but Available is not 0. #virsh pool-info 2361a6d4-0edc-3534-87ae-e7ee09199921 Name: 2361a6d4-0edc-3534-87ae-e7ee09199921 UUID: 2361a6d4-0edc-3534-87ae-e7ee09199921 State: running

Re: [libvirt] [PATCH] util: Re-format literal strings in virXMLEmitWarning

2012-10-29 Thread Peter Krempa
On 10/29/12 15:23, Daniel P. Berrange wrote: On Mon, Oct 29, 2012 at 03:22:05PM +0100, Peter Krempa wrote: And drop a stray space at the end of the first line of the warning. --- Yes, some lines exceed 80 columns. --- src/util/xml.c | 16 +--- 1 file changed, 9 insertions(+), 7

Re: [libvirt] libvirt can not get right stats of a rbd pool

2012-10-29 Thread Wido den Hollander
On 10/29/2012 03:33 PM, Daniel P. Berrange wrote: On Fri, Oct 26, 2012 at 11:04:05AM +0800, yue wrote: Allocation exceed Capacity ,but Available is not 0. #virsh pool-info 2361a6d4-0edc-3534-87ae-e7ee09199921 Name: 2361a6d4-0edc-3534-87ae-e7ee09199921 UUID:

Re: [libvirt] [PATCH] [DRAFT] handle qemu event GUEST_PANICKED

2012-10-29 Thread Daniel P. Berrange
On Thu, Oct 25, 2012 at 04:04:23PM +0800, Hu Tao wrote: This is for early review, comments are welcome! qemu is adding a method to detect guest panic, and a new event GUEST_PANICKED[1]. This patch adds support for GUEST_PANICKED. But I have two questions: - to react to

Re: [libvirt] [PATCH] daemon: Fix LIBVIRT_DEBUG=1 default output

2012-10-29 Thread Daniel P. Berrange
On Wed, Oct 24, 2012 at 05:01:54PM -0400, Cole Robinson wrote: This commit changes the behavior of LIBVIRT_DEBUG=1 libvirtd: $ git show 7022b09111d4322d21396a70d58320a9ad773962 commit 7022b09111d4322d21396a70d58320a9ad773962 Author: Daniel P. Berrange berra...@redhat.com Date: Thu Sep 27

[libvirt] [PATCH v2] sanlock: Introduce 'user' and 'group' conf variables

2012-10-29 Thread Michal Privoznik
through which user set under what permissions does sanlock daemon run so libvirt will set the same permissions for files exposed to it. --- diff to v1: -update spec file so sanlock dir is installed with root:sanlock iff group sanlock exists docs/locking.html.in| 22

Re: [libvirt] Can we run guest OS without using NAT and iptables?

2012-10-29 Thread Cole Robinson
On 10/29/2012 05:30 AM, Stefan Hajnoczi wrote: On Mon, Oct 29, 2012 at 12:55:43PM +0530, freak 62 wrote: Can we run guest o.s. on KVM without enabling NAT and iptables? The reason to do this is , I wanted to disable conntrack module from my system and to disable that I must have to

Re: [libvirt] [Xen-devel] libxl drivers for libvirt?

2012-10-29 Thread Jim Fehlig
Ian Campbell wrote: On Fri, 2012-10-26 at 14:03 +0100, George Dunlap wrote: On 24/10/12 19:11, Jim Fehlig wrote: * What kind of Xen support for libxl is in the libvirt development branch, and do you have an idea when full support for 4.2 (at least, including migration,

Re: [libvirt] [Xen-devel] libxl drivers for libvirt?

2012-10-29 Thread Daniel P. Berrange
On Mon, Oct 29, 2012 at 09:55:28AM -0600, Jim Fehlig wrote: Ian Campbell wrote: On Fri, 2012-10-26 at 14:03 +0100, George Dunlap wrote: On 24/10/12 19:11, Jim Fehlig wrote: * What kind of Xen support for libxl is in the libvirt development branch, and do you have an idea when

Re: [libvirt] [PATCH] qemu: Report errors from iohelper

2012-10-29 Thread Michal Privoznik
On 25.10.2012 23:56, Eric Blake wrote: On 10/24/2012 09:49 AM, Michal Privoznik wrote: Currently, we use iohelper when saving/restoring a domain. However, if there's some kind of error (like I/O) it is not propagated to libvirt. Since it is not qemu who is doing the actual write() it will not

Re: [libvirt] [PATCH v2] sanlock: Introduce 'user' and 'group' conf variables

2012-10-29 Thread Michal Privoznik
On 29.10.2012 16:18, Michal Privoznik wrote: through which user set under what permissions does sanlock daemon run so libvirt will set the same permissions for files exposed to it. --- diff to v1: -update spec file so sanlock dir is installed with root:sanlock iff group sanlock exists

Re: [libvirt] libxl driver doesn't build with xen 4.2

2012-10-29 Thread Jim Fehlig
Cole Robinson wrote: On 10/26/2012 10:03 PM, Cole Robinson wrote: Hi Jim, The libvirt libxl driver doesn't build with xen 4.2. There was a small thread about it on fedora's virt list: http://lists.fedoraproject.org/pipermail/virt/2012-October/003446.html I saw that you had a few xen

[libvirt] problem trying to use net-update

2012-10-29 Thread Gene Czarcinski
On 10/24/2012 01:31 PM, Laine Stump wrote: Well, you could indirectly trigger it by adding (and then removing) a dhcp range element with virsh net-update. Is there some way (some command) that will cause dnsmasq to be restarted (possibly with new parameters as it re-does its configuration).

Re: [libvirt] [PATCH] qemu: Report errors from iohelper

2012-10-29 Thread Eric Blake
On 10/29/2012 10:08 AM, Michal Privoznik wrote: On 25.10.2012 23:56, Eric Blake wrote: On 10/24/2012 09:49 AM, Michal Privoznik wrote: Currently, we use iohelper when saving/restoring a domain. However, if there's some kind of error (like I/O) it is not propagated to libvirt. Since it is not

Re: [libvirt] dhcp6, radvd, ip6tables, etc. (update)

2012-10-29 Thread Laine Stump
On 10/29/2012 08:26 AM, Gene Czarcinski wrote: On 10/27/2012 03:18 PM, Gene Czarcinski wrote: OK, I have the basic implementation for libvirt support of dhcp6. Let me say again that 98% of the work was already done. There is still a bunch of work today which includes writing some tests,

[libvirt] [PATCH] build: fix linking with systemtap probes

2012-10-29 Thread Eric Blake
Commit 34e8f63a3 altered virfile.o to drag in additional symbols, which in turn led to pulling in other .o files and eventually causing a link failure when systemtap probes are enabled, such as: ./.libs/libvirt_util.a(libvirt_util_la-event_poll.o): In function `virEventPollRunOnce':

Re: [libvirt] [PATCHv2] xml: print uuids or shell-escaped names in the warning

2012-10-29 Thread Dave Allan
On Mon, Oct 29, 2012 at 11:07:20AM +0100, Peter Krempa wrote: On 10/29/12 10:38, Jiri Denemark wrote: On Thu, Oct 25, 2012 at 16:37:37 +0200, Ján Tomko wrote: In the XML warning, this prints uuids for domain names with special characters in them and shell-escaped names for other elements (like

Re: [libvirt] Patch replaces scriptlets with new systemd macros

2012-10-29 Thread Eric Blake
On 10/29/2012 05:56 AM, Daniel P. Berrange wrote: On Fri, Oct 26, 2012 at 08:09:54AM +0200, Václav Pavlín wrote: Eric Blake píše v Čt 25. 10. 2012 v 10:41 -0600: Hello, Ah, then maybe you did answer the big question. Except that I don't see the updated patch - did you forget to attach it?

[libvirt] [PATCH] build: place attributes in correct location

2012-10-29 Thread Eric Blake
Ever since commit eefb881, ATTRIBUTE_NONNULL has been a no-op under gcc (since it tends to cause more bugs than it cures given gcc's current lame implementation of the macro). However, the macro is still useful to Coverity and other static-analysis tools, but only if we use it correctly. Gcc

[libvirt] [PATCH] util: do a better job of matching up pids with their binaries

2012-10-29 Thread Laine Stump
This patch resolves: https://bugzilla.redhat.com/show_bug.cgi?id=871201 If libvirt is restarted after updating the dnsmasq or radvd packages, a subsequent virsh net-destroy will fail to kill the dnsmasq/radvd process. The problem is that when libvirtd restarts, it re-reads the dnsmasq and radvd

[libvirt] [jbro...@redhat.com: [Users] oVirt at LinuxCon Europe Next Week]

2012-10-29 Thread Dave Allan
FYI, there's a bunch of oVirt related stuff going on at LinuxCon next week. - Forwarded message from Jason Brooks jbro...@redhat.com - Date: Mon, 29 Oct 2012 14:11:29 -0700 From: Jason Brooks jbro...@redhat.com To: oVirt Mailing List us...@ovirt.org, annou...@ovirt.org Subject: [Users]

[libvirt] Fwd: Need help of guest lifecycle control

2012-10-29 Thread Zhimou Peng
Any update? Really need your help about this... zhpeng BR - Forwarded Message - From: Zhimou Peng zhp...@redhat.com To: libvir-list@redhat.com Cc: jdene...@redhat.com, Min Zhan mz...@redhat.com, YuanDan dy...@redhat.com Sent: Monday, September 24, 2012 1:45:28 PM Subject: Need help of

[libvirt] [PATCH v2] helper of copy-storage-* features

2012-10-29 Thread liguang
help to create disk images copy-storage-* required, try to do non-shared migration without bothering to create disk images at target by hand. consider this situation: 1. non-shared migration virsh migrate --copy-storage-all ... 2. migration fails 3. create disk images required qemu-img