[libvirt] [PATCH 5/5]: Export <device> when doing logical pool discovery

Chris Lalancette clalance at redhat.com
Tue Oct 21 13:57:24 UTC 2008

When doing logical pool discovery, it currently returns XML like:


However, for oVirt, we need to know the device name that corresponds to this
logical volume group as well.  Therefore, extend the
virStorageBackendLogicalFindPoolSources function to return this information as
well.  This required pretty much a complete rewrite of the discovery function,
since I needed to be able to add <device> sections to already existing XML
nodes.  For that reason, this code uses direct libxml2 tree API's to handle the
parsing and the adding of nodes where necessary.

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-logical-rewrite-pool-sources-v3-patch5.patch
Type: text/x-patch
Size: 6903 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081021/7a52d5a6/attachment-0001.bin>

More information about the libvir-list mailing list