On Tue, Feb 26, 2008 at 04:57:56AM +0000, Daniel P. Berrange wrote: > So I decided that we needed to have a internal API & structure to allow > drivers to formally register & query their capabilities , and also add a > central method for serializing it to XML. The following 2 patches implement > this idea, and porting the Xen, QEMU and Test drivers to use it. > > This removes a lot of code duplication in XML formatting and makes the > resulting code easier to follow, and should make it much quicker to > adding capabilities info to new drivers too. Much needed change. +1 for the general idea, I'll follow up with any detailed comments in the patch messages. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://et.redhat.com/~rjones/virt-top -- Libvir-list mailing list Libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list