[libvirt] [PATCH] Fix virsh {net,pool}-edit
Cole Robinson
crobinso at redhat.com
Thu Feb 12 21:58:50 UTC 2009
The dumpxml commands for networks and pools don't support any flag
arguments, and in fact explictly fail if flags != 0. This is not the
case for vm dumpxml though, and flags were added to the base 'edit'
implementation in virsh recently.
The net and pool derivatives were not addressing this difference, so any
net-edit or pool-edit attempt currently gives an error like:
Network error : invalid argument in virNetworkGetXMLDesc
The attached patch is one way to fix this. Thanks to Charles Duffy for
the report.
- Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-fix-net-edit.patch
Type: text/x-patch
Size: 1755 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090212/aa6a2f18/attachment-0001.bin>
More information about the libvir-list
mailing list