[libvirt] [PATCH]: Add default pool types

Chris Lalancette clalance at redhat.com
Wed Oct 22 14:06:47 UTC 2008

As suggested by danpb, to fix up the regression caused by last week's VIR_ENUM
cleanup patch, add a ".defaultFormat" member to .poolOptions.  In
storage_conf.c, if virXPathString(/pool/source/format/@type) returns NULL, then
set the pool type to .defaultFormat; otherwise, lookup the type via

Signed-off-by: Chris Lalancette <clalance at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-pool-default-format.patch
Type: text/x-patch
Size: 3599 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081022/69878371/attachment-0001.bin>

More information about the libvir-list mailing list