[libvirt] libvirt-0.9.5 availability of rc3

2011-09-18 Thread Daniel Veillard
I have made a third release candidate tarball (and associated rpms) at ftp://libvirt.org/libvirt/libvirt-0.9.5-rc2.tar.gz and tagged in git for it. This one should fis the MacOS-X/BSD portability problem thanks to Peter and Eric, and if everything goes well I will probably release 0.9.5 on

Re: [libvirt] [PATCH 1/2] rpc: convert unknown procedures to VIR_ERR_NO_SUPPORT

2011-09-18 Thread Daniel Veillard
On Fri, Sep 16, 2011 at 08:47:00AM -0600, Eric Blake wrote: On 09/14/2011 12:51 PM, Eric Blake wrote: Libvirt special-cases a specific VIR_ERR_RPC from the remote driver back into VIR_ERR_NO_SUPPORT on the client, so that clients can handle missing rpc functions the same whether the hypervisor

Re: [libvirt] libvirt-0.9.5 availability of rc2

2011-09-18 Thread Adam Litke
I am getting SIGABRT and SIGSEGV in libvirtd when trying to catch blockJob events. When running under valgrind I get the following: ==19819== Thread 1: ==19819== Invalid free() / delete / delete[] ==19819==at 0x4C282ED: free (vg_replace_malloc.c:366) ==19819==by 0x4E7B48: virFree

[libvirt] [PATCH 5/5] vmx: avoid memory leak

2011-09-18 Thread ajia
* src/vmx/vmx.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com --- src/vmx/vmx.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index dff3599..1ab15b7 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -1253,6 +1253,7 @@

[libvirt] [PATCH 4/5] util: avoid memory leak

2011-09-18 Thread ajia
* src/util/pci.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com --- src/util/pci.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/util/pci.c b/src/util/pci.c index 9873f33..8d8e157 100644 --- a/src/util/pci.c +++ b/src/util/pci.c @@ -1965,6 +1965,7 @@

[libvirt] [PATCH 1/5] daemon: avoid memory leak

2011-09-18 Thread ajia
* daemon/remote.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com --- daemon/remote.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/daemon/remote.c b/daemon/remote.c index 38bbb10..45244f8 100644 --- a/daemon/remote.c +++ b/daemon/remote.c @@ -997,6 +997,8

[libvirt] [PATCH 0/5] avoid memory leaks

2011-09-18 Thread ajia
Detected by Coverity. * daemon/remote.c: Calling allocation function 'get_nonnull_domain' to allocate memory to 'dom', but haven't released it in 'cleanup' section. * src/qemu/qemu_command.c: Taking 'if (!port)' true branch then 'def = NULL', the codes jump into 'error' section, the function

[libvirt] [PATCH 2/5] qemu: avoid memory leak

2011-09-18 Thread ajia
* src/qemu/qemu_command.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com --- src/qemu/qemu_command.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c index e8b1157..45d55fc 100644 --- a/src/qemu/qemu_command.c

[libvirt] [PATCH 3/5] remote: avoid memory leak

2011-09-18 Thread ajia
* src/remote/remote_driver.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com --- src/remote/remote_driver.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 9d34b7e..9f30432 100644 ---

Re: [libvirt] [PATCH 5/5] vmx: avoid memory leak

2011-09-18 Thread Matthias Bolte
2011/9/18 a...@redhat.com: * src/vmx/vmx.c: fix memory leak. Signed-off-by: Alex Jia a...@redhat.com ---  src/vmx/vmx.c |    1 +  1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index dff3599..1ab15b7 100644 --- a/src/vmx/vmx.c +++

Re: [libvirt] [PATCH v2] spec: Require augeas for sanlock

2011-09-18 Thread Wen Congyang
At 09/15/2011 11:10 PM, Michal Privoznik Write: Even though we BuildRequire augeas in some cases, we need to require it even after if we build with sanlock. virt-sanlock-cleanup use it. --- libvirt.spec.in |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git

Re: [libvirt] [PATCH 5/5] vmx: avoid memory leak

2011-09-18 Thread Alex Jia
On 09/19/2011 12:47 AM, Matthias Bolte wrote: 2011/9/18a...@redhat.com: * src/vmx/vmx.c: fix memory leak. Signed-off-by: Alex Jiaa...@redhat.com --- src/vmx/vmx.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index dff3599..1ab15b7

[libvirt] [PATCH v2 5/5] vmx: avoid memory leak

2011-09-18 Thread ajia
* src/vmx/vmx.c: fix memory leak, 'def' has a initial value 'NULL', so 'goto cleanup' is perfected instead of adding a virConfFree before 'return NULL'. Signed-off-by: Alex Jia a...@redhat.com --- src/vmx/vmx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [libvirt] libvirt-0.9.5 availability of rc3

2011-09-18 Thread Jason Helfman
On Sun, Sep 18, 2011 at 06:55:06PM +0800, Daniel Veillard thus spake: I have made a third release candidate tarball (and associated rpms) at ftp://libvirt.org/libvirt/libvirt-0.9.5-rc2.tar.gz and tagged in git for it. This one should fis the MacOS-X/BSD portability problem thanks to Peter and

Re: [libvirt] libvirt-0.9.5 availability of rc3

2011-09-18 Thread Daniel Veillard
On Sun, Sep 18, 2011 at 08:48:23PM -0700, Jason Helfman wrote: On Sun, Sep 18, 2011 at 06:55:06PM +0800, Daniel Veillard thus spake: I have made a third release candidate tarball (and associated rpms) at ftp://libvirt.org/libvirt/libvirt-0.9.5-rc2.tar.gz and tagged in git for it. This one