[libvirt] [PATCH] Add missing OOM error checks, reports and cleanups

2009-11-08 Thread Matthias Bolte
--- daemon/remote.c| 10 +-- src/conf/domain_conf.c |4 +- src/conf/node_device_conf.c| 13 +++- src/esx/esx_driver.c |5 ++ src/lxc/lxc_driver.c | 27 +-- src/openvz/openvz_conf.c | 12 ++- src/openv

[libvirt] [PATCH 1/2] Add a new option in the domain config features list.

2009-11-08 Thread Evan Broder
--- docs/formatdomain.html.in |4 docs/schemas/domain.rng |5 + src/conf/domain_conf.c|3 ++- src/conf/domain_conf.h|1 + 4 files changed, 12 insertions(+), 1 deletions(-) diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in index 72bd7b9..c4eed79

[libvirt] [PATCH 2/2] qemu: Add support for the feature.

2009-11-08 Thread Evan Broder
--- src/qemu/qemu_conf.c |7 +++ src/qemu/qemu_conf.h |1 + 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/src/qemu/qemu_conf.c b/src/qemu/qemu_conf.c index e1e24c3..452cbe0 100644 --- a/src/qemu/qemu_conf.c +++ b/src/qemu/qemu_conf.c @@ -897,6 +897,8 @@ static unsigned

[libvirt] timing issues of calling virsh on the command line

2009-11-08 Thread David Wilcox
Hi, I've encountered some concurrency issues when calling virsh in a script. If I try to restore a VM too soon after it's been saved, libvirtd will stop responding. As well, if I try to save a VM too soon after it's been restored, libvirtd will stop responding. At the moment, I am not using any t

Re: [libvirt] [PATCH] opennebula: Fix potential memory/mutex leak in state driver startup

2009-11-08 Thread Daniel Veillard
On Sun, Nov 08, 2009 at 02:36:36AM +0100, Matthias Bolte wrote: > In case of an error the domains hash and the driver mutex may leak. > > * src/opennebula/one_driver.c: free/destroy domains hash and driver > mutex in error cases > --- > src/opennebula/one_driver.c | 19 +++ >

Re: [libvirt] [PATCH] Add a Python example that lists active ESX domains

2009-11-08 Thread Daniel Veillard
On Sun, Nov 08, 2009 at 01:05:58AM +0100, Matthias Bolte wrote: > It also demonstrates how to use the libvirt.openAuth() method. > > * examples/python/Makefile.am: add esxlist.py to EXTRA_DIST > * examples/python/README: add some notes about esxlist.py > * examples/python/esxlist.py: the new examp

Re: [libvirt] [PATCH v2 1/2] XML schema for CPU flags

2009-11-08 Thread Dor Laor
On 11/05/2009 05:04 PM, Jiri Denemark wrote: Firstly, CPU topology and model with optional features have to be advertised in host capabilities: ARCHITECTURE NAME