Re: [libvirt] PATCH: 2/12: Make use of versioned linker scripts

2008-11-13 Thread Daniel P. Berrange
On Thu, Nov 13, 2008 at 06:31:04PM +0100, Daniel Veillard wrote: > On Thu, Nov 13, 2008 at 05:21:23PM +, Daniel P. Berrange wrote: > > This patch changes the way we use linker scripts to have fully versioned > > symbols, and a versioned private section for symbols needed by libvirtd > > and vir

Re: [libvirt] PATCH: 3/12: Re-factor storage backend integration

2008-11-13 Thread Daniel Veillard
On Thu, Nov 13, 2008 at 05:23:05PM +, Daniel P. Berrange wrote: > My previous patch for refactoring the storage backends broke the test > driver's storage capabilities. The problem was that it made the backends > private to the storage driver, but part of them was in fact needed by > the XML p

Re: [libvirt] PATCH: 12/12: python bindings for node devices

2008-11-13 Thread Daniel P. Berrange
This is the python bindings for node devices. No change from David's last patches. Daniel diff -r b2546652397b python/generator.py --- a/python/generator.py Fri Nov 07 18:44:05 2008 + +++ b/python/generator.py Fri Nov 07 18:44:21 2008 + @@ -260,6 +260,11 @@ 'const virConn

Re: [libvirt] PATCH: 11/12: virsh support

2008-11-13 Thread Daniel P. Berrange
This patch adds two node virsh commands for the node device enumeration APIs. The only change here is to change the command names to have a shorter prefix, nodedev-list and nodedev-dumpxml Daniel diff -r 0136f215fc06 src/virsh.c --- a/src/virsh.c Thu Nov 13 13:06:59 2008 + +++ b/src/vi

Re: [libvirt] PATCH: 9/12: HAL/DevitKit node device impl

2008-11-13 Thread Daniel P. Berrange
This is the main implementation of the local device enumation driver. The main change since David's patch is that we hav a single nodedevRegister() API call, instead of initializing HAL/DevKit separtely. This was needed to make the dlopen() support easier to implement. Functionally the end result i

Re: [libvirt] PATCH: 8/12:Interal driver API for node devices

2008-11-13 Thread Daniel P. Berrange
This is the basic internal driver support code for the node device APIs. The actual registration of the drivers was pushed to a later patch to allow this to compile on its own & thus be fully bisectable. Daniel diff -r 6812c3044043 src/Makefile.am --- a/src/Makefile.am Wed Nov 12 21:11:46 2008

Re: [libvirt] PATCH: 2/12: Make use of versioned linker scripts

2008-11-13 Thread Daniel Veillard
On Thu, Nov 13, 2008 at 05:21:23PM +, Daniel P. Berrange wrote: > This patch changes the way we use linker scripts to have fully versioned > symbols, and a versioned private section for symbols needed by libvirtd > and virsh. Just a couple of questions: > +++ b/src/driver.hTue Nov 11 17

Re: [libvirt] PATCH: 7/12: Public API for node devices

2008-11-13 Thread Daniel P. Berrange
This patch is the public API parts of the node device enumeration code. No changes since David's last submission of this, except for some Makefile tweaks Daniel diff -r 78738f80cf4c include/libvirt/libvirt.h --- a/include/libvirt/libvirt.h Wed Nov 12 21:05:32 2008 + +++ b/include/libvirt/lib

Re: [libvirt] PATCH: 6/12: Optional dlopen() support

2008-11-13 Thread Daniel P. Berrange
This patch is a small incremental change to optionally allow us to build every driver as a dlopen()able module. This is disabled by default for now. I'm not sure whether this is hugely usefl or not, but it was easy enough to do, so here's the patch. Daniel diff -r ecc8ae6295bc configure.in --- a

Re: [libvirt] PATCH: 5/12: Module build & linking

2008-11-13 Thread Daniel P. Berrange
This patch changes the module biuld so that stateful drivers like QEMU and LXC are directly linked into the libvirtd daemon, and not part of the libvirt.so file. It also does this for network and storage drivers. We need to export a few more symbols for this to work, and libvirtd has to explicitly

Re: [libvirt] PATCH: 4/12: Refactoring URI probing

2008-11-13 Thread Daniel P. Berrange
This patch changes the way hypervisor URIs are probed when NULL is passed to the virConnectOpen() method. Previously we had an explicit probe method called in each driver. This does not work when we move some drivers out of libvirt.so and into libvirtd daemon. So I've refactored the way this works

Re: [libvirt] PATCH: 1/12: Build libtool convenience libraries

2008-11-13 Thread Daniel Veillard
On Thu, Nov 13, 2008 at 05:20:26PM +, Daniel P. Berrange wrote: > This patch changes the makefile to build all drivers as libtool > convenience libraries. Okay, +1 Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ [EMAIL PROTECTED] | Rpmfind RPM search

Re: [libvirt] PATCH: 3/12: Re-factor storage backend integration

2008-11-13 Thread Daniel P. Berrange
My previous patch for refactoring the storage backends broke the test driver's storage capabilities. The problem was that it made the backends private to the storage driver, but part of them was in fact needed by the XML parsers. This patch pulls a bunch of code out of the storage_backenmd file, a

Re: [libvirt] PATCH: 2/12: Make use of versioned linker scripts

2008-11-13 Thread Daniel P. Berrange
This patch changes the way we use linker scripts to have fully versioned symbols, and a versioned private section for symbols needed by libvirtd and virsh. Daniel diff -r bbf3d0bc9d49 configure.in --- a/configure.in Tue Nov 11 17:28:27 2008 + +++ b/configure.in Tue Nov 11 17:28:31 2

Re: [libvirt] PATCH: 1/12: Build libtool convenience libraries

2008-11-13 Thread Daniel P. Berrange
This patch changes the makefile to build all drivers as libtool convenience libraries. Daniel diff -r 99484df67fe0 src/Makefile.am --- a/src/Makefile.am Fri Nov 07 11:53:35 2008 + +++ b/src/Makefile.am Fri Nov 07 11:54:20 2008 + @@ -6,11 +6,7 @@ [EMAIL PROTECTED]@/include

[libvirt] PATCH: 0/12: Modular build & node devices integration

2008-11-13 Thread Daniel P. Berrange
The following series of patches are updated version of patches 7-11 of this series http://www.redhat.com/archives/libvir-list/2008-October/msg00718.html And integrating David Lively's node device patches ontop Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/