When using 'qemu-img create', if the file being created already
exists, then qemu-img tries to read it first. This has some
unexpected effects:
$ rm test.qcow2
$ qemu-img create -f qcow2 -o compat=1.1,preallocation=off test.qcow2 1G
Formatting 'test.qcow2', fmt=qcow2 size=1073741824 compat=1.1
[ Cc: qemu-block ]
Am 08.11.2016 um 11:58 hat Richard W.M. Jones geschrieben:
> When using 'qemu-img create', if the file being created already
> exists, then qemu-img tries to read it first. This has some
> unexpected effects:
>
>
> $ rm test.qcow2
> $ qemu-img create -f qcow2 -o compat=1.1,p
On Tue, Nov 08, 2016 at 03:05:24PM +0100, Kevin Wolf wrote:
> [ Cc: qemu-block ]
>
> Am 08.11.2016 um 11:58 hat Richard W.M. Jones geschrieben:
> > When using 'qemu-img create', if the file being created already
> > exists, then qemu-img tries to read it first. This has some
> > unexpected effect