[libvirt] Re: [PATCH] 7/7 host ("node") device enumeration - java bindings

2008-10-27 Thread David Lively
This patch (for libvirt-java) contains Java bindings for node device enumeration. diff --git a/src/Makefile.am b/src/Makefile.am index 5200c1d..466a0eb 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -14,6 +14,7 @@ java_libvirt_source_files = \ org/libvirt/Error.java \ org/libvirt/Netw

[libvirt] Re: [PATCH] 6/7 host ("node") device enumeration - python bindings

2008-10-27 Thread David Lively
This patch contains python bindings for node device enumeration. diff --git a/python/generator.py b/python/generator.py index ca83eaf..108dfc2 100755 --- a/python/generator.py +++ b/python/generator.py @@ -258,6 +258,11 @@ py_types = { 'const virConnectPtr': ('O', "virConnect", "virConnectPt

[libvirt] Re: [PATCH] 5/7 host ("node") device enumeration - virsh support

2008-10-27 Thread David Lively
This patch contains virsh support for node device enumeration. diff --git a/src/virsh.c b/src/virsh.c index 89aa4fa..67963f0 100644 --- a/src/virsh.c +++ b/src/virsh.c @@ -4415,6 +4415,83 @@ cmdVersion(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED) } /* + * "node-list-devices" command +

[libvirt] Re: [PATCH] 4/7 host ("node") device enumeration - remote driver

2008-10-27 Thread David Lively
This patch contains the remote implementation of node device enumeration. diff --git a/qemud/remote.c b/qemud/remote.c index a623494..56d88a7 100644 --- a/qemud/remote.c +++ b/qemud/remote.c @@ -66,6 +66,7 @@ static void make_nonnull_domain (remote_nonnull_domain *dom_dst, virDomainPtr do static

[libvirt] Re: [PATCH] 3/7 host ("node") device enumeration - HAL & Devkit impls

2008-10-27 Thread David Lively
This patch contains the HAL-based implementation, and a preliminary DeviceKit-based implementation, of node device enumeration. The Devkit impl is very incomplete, mostly because Devkit itself is very immature at this stage. diff --git a/configure.in b/configure.in index 2d7fb14..3486a47 100644 -

[libvirt] Re: [PATCH] 2/7 host ("node") device enumeration - additions to internal API

2008-10-27 Thread David Lively
This patch contains additions to the internal API for host device enumeration. diff --git a/src/hash.c b/src/hash.c index 0a5bdcd..424c4a7 100644 --- a/src/hash.c +++ b/src/hash.c @@ -687,6 +687,9 @@ virGetConnect(void) { ret->storageVols = virHashCreate(20); if (ret->storageVols == NULL

[libvirt] Re: [PATCH] 1/7 host ("node") device enumeration - public API changes

2008-10-27 Thread David Lively
This patch contains the public API changes for host device enumeration. diff --git a/include/libvirt/libvirt.h.in b/include/libvirt/libvirt.h.in index 97aea7d..0b0a4bc 100644 --- a/include/libvirt/libvirt.h.in +++ b/include/libvirt/libvirt.h.in @@ -995,6 +995,74 @@ virDomainPtrvirDomain

[libvirt] one more warning

2008-10-27 Thread Jim Meyering
One more warning question: Compiling with all storage backends disabled, I get this: storage_backend.c:91: warning: comparison of unsigned expression < 0 is always false That's because of this code: static virStorageBackendPtr backends[] = { #if WITH_STORAGE_DIR &virStorageBackendDirectory,

[libvirt] [PATCH] 0/7 host ("node") device enumeration - completed submission

2008-10-27 Thread David Lively
Since the version of this I posted last week still had some outstaning TODO items that I have since finished, I'm re-submitting the whole thing. I consider this a "complete submission" since I don't think it's necessary to implement any additional functionality to make this acceptable. (The two r

Re: [libvirt] mingw warnings

2008-10-27 Thread Jim Meyering
"Richard W.M. Jones" <[EMAIL PROTECTED]> wrote: > On Fri, Oct 24, 2008 at 07:50:13PM +0200, Jim Meyering wrote: >> I've been building with mingw to make sure that my gnulib-upgrade-and-extend >> patch doesn't break anything and found some compiler warnings. >> I fixed most of them, but this one is

Re: [libvirt] mingw warnings

2008-10-27 Thread Richard W.M. Jones
On Fri, Oct 24, 2008 at 07:50:13PM +0200, Jim Meyering wrote: > I've been building with mingw to make sure that my gnulib-upgrade-and-extend > patch doesn't break anything and found some compiler warnings. > I fixed most of them, but this one is ugly: > > ../qemud/remote_protocol.c:317: warning: