Re: [libvirt] iface-list command in virsh

2010-04-19 Thread Matthias Bolte
2010/4/19 Dev.Atom : > Hi, > > I'm trying to list physical interface of a remote tcp host via the C API and > it fails. I have tried to use virsh iface-list in remote TCP connection and > it fails also. I have trying on the libvirt host with my normal account and > it fails also, but when I connect

[libvirt] iface-list command in virsh

2010-04-19 Thread Dev.Atom
Hi, I'm trying to list physical interface of a remote tcp host via the C API and it fails. I have tried to use virsh iface-list in remote TCP connection and it fails also. I have trying on the libvirt host with my normal account and it fails also, but when I connect under root account on the li

[libvirt] [PATCH] nwfilter: add support for connlimit match

2010-04-19 Thread Stefan Berger
This patch adds support for the connlimit match in iptables that is used to limit number of outgoing directions. Signed-off-by" Stefan Berger --- src/conf/nwfilter_conf.c |5 ++ src/conf/nwfilter_conf.h |1 src/nwfilter/nwfilter_ebiptables_driver.c |

[libvirt] [PATCH]: ignore empty type attribute, was Re: empty type parameter in driver tag for disk in machine xml file

2010-04-19 Thread Guido Günther
Hi, On Tue, Apr 06, 2010 at 12:50:31PM +, Frederik Himpe wrote: > I updated my system from libvirt 0.7.1 to 0.7.7, one of my qemu-kvm VMs > was not starting anymore, with this error: > > LC_ALL=C PATH=/sbin:/usr/sbin:/bin:/usr/bin HOME=/ TMPDIR=/tmp > QEMU_AUDIO_DRV=none /usr/bin/qemu-kvm -S

Re: [libvirt] [PATCH] Fix crash in nwfilter driver check

2010-04-19 Thread Stefan Berger
libvir-list-boun...@redhat.com wrote on 04/19/2010 09:18:15 AM: > > * src/nwfilter/nwfilter_driver.c: Fix locking & NULL checks > in nwfilterDriverActive() > --- > src/nwfilter/nwfilter_driver.c | 11 +-- > 1 files changed, 9 insertions(+), 2 deletions(-) > > diff --git a/src/nwfilt

Re: [libvirt] ESX and inaccessible storage pools

2010-04-19 Thread Dave Allan
On Mon, Apr 19, 2010 at 11:09:17AM +0100, Daniel P. Berrange wrote: > On Sun, Apr 18, 2010 at 10:55:04PM +0200, Matthias Bolte wrote: > > 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

Re: [libvirt] ESX and inaccessible storage pools

2010-04-19 Thread Dave Allan
On Sun, Apr 18, 2010 at 10:55:04PM +0200, Matthias Bolte wrote: > 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 >

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

2010-04-19 Thread Dave Allan
On Sun, Apr 18, 2010 at 10:30:18PM +0200, Matthias Bolte wrote: > 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

[libvirt] [PATCH] Fix crash in nwfilter driver check

2010-04-19 Thread Daniel P. Berrange
The nwfilterDriverActive() could de-reference a NULL pointer if it hadn't be started at the point it was called. It was also not thread safe, since it lacked locking around data accesses. * src/nwfilter/nwfilter_driver.c: Fix locking & NULL checks in nwfilterDriverActive() --- src/nwfilter/nwfi

[libvirt] [PATCH] Support for faking emulator in qemuxml2argv tests

2010-04-19 Thread Jiri Denemark
Hi, I thought I'd need it but turned out I didn't. In case someone else finds a good use for that, here's the patch. The idea was to provide a way to fake qemu responses on -M ?, -cpu ?, and the like. Jirka >From d1fa129d1018cd66d2bbdadc68a5f72e91bc6b0c Mon Sep 17 00:00:00 2001 Message-Id: Fro

Re: [libvirt] [PATCH 2/6] Tests for CPU selection in qemu driver

2010-04-19 Thread Jiri Denemark
> > +++ b/tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml > > @@ -0,0 +1,28 @@ > > + > > + QEMUGuest1 > > + c7a5fdbd-edaf-9455-926a-d65c16db1809 > > > +++ b/tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2.xml > > @@ -0,0 +1,35 @@ > > + > > + QEMUGuest1 > > + c7a5fdbd-edaf-9455-926a-d65c16db1

Re: [libvirt] ESX and inaccessible storage pools

2010-04-19 Thread Daniel P. Berrange
On Sun, Apr 18, 2010 at 10:55:04PM +0200, Matthias Bolte wrote: > 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 >

Re: [libvirt] [RFC PATCH 2/5] Add namespace callback hooks to domain_conf.

2010-04-19 Thread Daniel P. Berrange
On Fri, Apr 16, 2010 at 11:05:39PM -0400, Chris Lalancette wrote: > On 04/16/2010 07:20 AM, Daniel P. Berrange wrote: > >> + > >> /* Guest VM main configuration */ > >> typedef struct _virDomainDef virDomainDef; > >> typedef virDomainDef *virDomainDefPtr; > >> @@ -863,6 +876,9 @@ struct _virDoma