[libvirt] New compile failure on OSX: CLOCK_REALTIME undeclared

2010-11-07 Thread Justin Clift
Hi Eric, When running 'make check' on OSX (git head) it's erroring out with: eventtest.c: In function 'finishJob': eventtest.c:216: warning: implicit declaration of function 'clock_gettime' eventtest.c:216: warning: nested extern declaration of 'clock_gettime' [-Wnested-externs]

Re: [libvirt] [PATCH] qemu: Remove redundant slash in save directory path

2010-11-07 Thread Matthias Bolte
2010/11/5 Eric Blake ebl...@redhat.com: On 11/05/2010 03:41 PM, Matthias Bolte wrote: ---  src/qemu/qemu_driver.c |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/qemu/qemu_driver.c b/src/qemu/qemu_driver.c index 4e590e3..2a84e5d 100644 ---

[libvirt] [PATCH] Allow virDomainGetMemoryParameters on read-only connections

2010-11-07 Thread Matthias Bolte
Also fix a typo in the documentation of the function. --- src/libvirt.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/src/libvirt.c b/src/libvirt.c index aebd3bc..2ffb2d9 100644 --- a/src/libvirt.c +++ b/src/libvirt.c @@ -3096,7 +3096,7 @@ error: * } * * This

[libvirt] [PATCH] lxc: Exit on first error in lxcDomainGetMemoryParameters

2010-11-07 Thread Matthias Bolte
There is no point in trying to fill params beyond the first error, because when lxcDomainGetMemoryParameters returns -1 then the caller cannot detect which values in params are valid. --- src/lxc/lxc_driver.c | 21 - 1 files changed, 8 insertions(+), 13 deletions(-) diff

[libvirt] [PATCH] esx: Add support for memtune/min_guarantee

2010-11-07 Thread Matthias Bolte
Also add a test case for the VMX handling of it. --- src/esx/esx_driver.c| 133 ++- src/esx/esx_vi.c| 31 ++ src/esx/esx_vi.h|3 + src/esx/esx_vi_types.c