[et-mgmt-tools] virtinst: fix virt-clone on sparse files

Guido Guenther agx at sigxcpu.org
Tue Dec 11 10:13:05 UTC 2007


Hi,
attached patch fixes libvirt on fully sparse files. Otherwise you'll get a

Cloning from bla.img to bla2.img
ERROR:  local variable 'b' referenced before assignment

exception because b is uninitialzed (we never didn't write anything).
Patch is against 0.300.1. Please apply,
 -- Guido
-------------- next part --------------
A non-text attachment was scrubbed...
Name: virt-clone_sparse.diff
Type: text/x-diff
Size: 482 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20071211/c4bc307f/attachment.bin>


More information about the et-mgmt-tools mailing list