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