[libvirt-users] Cannot create qcow2 images with libvirt 0.8.1

Guido Winkelmann guido-libvi at unknownsite.de
Mon May 31 13:16:57 UTC 2010


Am Freitag, 28. Mai 2010 schrieb Cole Robinson:
> On 05/28/2010 11:10 AM, Guido Winkelmann wrote:
> > Hi,
> >
> > After upgrading to libvirt 0.8.1, I can no longer create empty volumes
> > with no backing store and an explicit format of qcow2.
> >
> > This XML volume definition:
> >
> > <volume>
> >   <name>testserverb-data2.img</name>
> >   <allocation>0</allocation>
> >   <capacity units='G'>20</capacity>
> 
> This should be 'unit', not 'units'. Libvirt is probably seeing that as
> 20 bytes, rounding down to 0K, and qemu-img isn't happy.

That solved it, thanks!

	Guido




More information about the libvirt-users mailing list