[libvirt] [RFC PATCH] Support for qemu aio drive option

2010-04-18 Thread Matthias Dahl
This is a quick implementation to support the qemu aio drive option. I tried to stay true to the coding style and this has been tested w/ libvirt 0.7.6 and works just fine. Since I am not that familiar w/ the inner workings of libvirt, I am sure I missed a few spots, so I hope either someone

[libvirt] [PATCH] logrotate: don't rotate zero-length logfiles only

2010-04-18 Thread Anton Protopopov
Hi. In logrotate configuration files used by libvirt, there is an option 'minsize 100k', which prevents logrotate from rotating small ( 100k) files into an archive. But the target goal of the http://www.mail-archive.com/libvir-list@redhat.com/msg17443.html patch was to prevent logrotate from

[libvirt] [PATCH] Explicitly set virStoragePoolTypeInfo FS and NETFS defaults

2010-04-18 Thread Matthias Bolte
No semantic change, the now explicitly set default are all zero and that's what GCC sets unspecified struct members to. --- src/conf/storage_conf.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c index 620744f..6467c73

[libvirt] [PATCH] esx: Fix FindByIp response handling

2010-04-18 Thread Matthias Bolte
FindByIp may return nothing if there is no host or virtual machine with the given IP address. Handle that case properly. --- src/esx/esx_vi.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/esx/esx_vi.c b/src/esx/esx_vi.c index 37270fe..c6854f1 100644 ---

[libvirt] [PATCH] esx: Fix virtualHW.version generation

2010-04-18 Thread Matthias Bolte
The supported virtualHW.version doesn't depend on the API version, but on the product version. --- src/esx/esx_driver.c |8 ++-- src/esx/esx_vmx.c| 46 +- src/esx/esx_vmx.h|4 +- tests/vmx2xmltest.c | 85

[libvirt] [PATCH] esx: Gather some XML generation macros in esx_vi.h

2010-04-18 Thread Matthias Bolte
--- src/esx/esx_vi.c | 27 ++- src/esx/esx_vi.h | 37 + src/esx/esx_vi_methods.c | 17 - src/esx/esx_vi_types.c | 20 4 files changed, 39 insertions(+), 62 deletions(-) diff

Re: [libvirt] [PATCH] nwfilter: Free nwfilter hash of virConnectPtr

2010-04-18 Thread Matthias Bolte
2010/4/17 Stefan Berger stef...@us.ibm.com: libvir-list-boun...@redhat.com wrote on 04/17/2010 12:23:24 PM: libvir-list-boun...@redhat.com And close the driver on connection close. ---  src/datatypes.c |   20  1 files changed, 20 insertions(+), 0 deletions(-)

[libvirt] ESX and inaccessible storage pools

2010-04-18 Thread Matthias Bolte
I'm currently implementing the storage driver for ESX and have a mapping problem. libvirt storage pools can be either running or inactive just like the domain. ESX is a bit different here. A datastore is always active. It can be inaccessible, e.g. if an NFS is mounted as datastore but the NFS

[libvirt] [PATCH] nwfilter: Extend fwall-drv interface and call functions via interface

2010-04-18 Thread Stefan Berger
I moving some functions into the interface of the firewall driver and make them only accessible via the driver's interface. Adapt the code where needed. One new function is added that checks whether some 'basic' rules can be applied, which is used by a subsequent patch. Signed-off-by: Stefan

Re: [libvirt] [PATCH 1/1] Initial POC of port profile id support

2010-04-18 Thread Vivek Kashyap
On Tue, 30 Mar 2010, David Allan wrote: Date: Tue, 30 Mar 2010 17:30:56 -0400 From: David Allan dal...@redhat.com To: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/1] Initial POC of port profile id support --- docs/schemas/domain.rng |8 src/conf/domain_conf.c | 12

[libvirt] [Resend][PATCH 0/3] Add dnsmasq module

2010-04-18 Thread Satoru SATOH
I posted this just before 0.8.0 is out and it was bad timing, I suppose. So try to resend. The following series of patches is a prototype implementation of dnsmasq module. It implements an idea originally suggested by Dan-san and can address the problem that too many --dhcp-host args hitting

[libvirt] [Resend][PATCH 1/3] Add dnsmasq module

2010-04-18 Thread Satoru SATOH
This patch adds the files implements dnsmasq (hostsfile) module. Signed-off-by: Satoru SATOH satoru.sa...@gmail.com --- src/util/dnsmasq.c | 326 src/util/dnsmasq.h | 59 ++ 2 files changed, 385 insertions(+), 0 deletions(-)

[libvirt] [Resend][PATCH 2/3] Add build support for dnsmasq module

2010-04-18 Thread Satoru SATOH
This patch adds build support for the dnsmasq module. Signed-off-by: Satoru SATOH satoru.sa...@gmail.com --- src/Makefile.am |1 + src/libvirt_private.syms |9 + 2 files changed, 10 insertions(+), 0 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index

[libvirt] [Resend][PATCH 3/3] Make dnsmasq started from libvirtd with --dhcp-hostsfile option

2010-04-18 Thread Satoru SATOH
This patch makes dnsmasq daemon started from libvirtd with a --dhcp-hostsfile option instead of --dhcp-host options for each '//ip/dhcp/host' entries defined in network xml file. NOTE: I'm not sure where and when to save the dnsmasq hostsfile so that make it saved in dnsmasq's local statedir

[libvirt] Live Migration with non-shared storage for kvm

2010-04-18 Thread Kenneth Nagin
On Wed Apr 07 I sent an email with a patch titled Live Migration with non-shared storage for kvm. What is the status on the patch? Kenneth Nagin Ph: +972-4-8296227 Cell: 054-6976227 Fx: +972-4- 8296113 Do not look back in anger, or forward in fear, but around in awareness. --James Thurber