Re: [Qemu-devel] [PATCH 1/9] qemu-io: Fix writethrough check in reopen

2018-08-29 Thread Max Reitz
On 2018-08-26 16:09, Alberto Garcia wrote: > "qemu-io reopen" doesn't allow changing the writethrough setting of > the cache, but the check is wrong, causing an error even on a simple > reopen with the default parameters: > >$ qemu-img create -f qcow2 hd.qcow2 1M >$ qemu-system-x86_64 -mon

[Qemu-devel] [PATCH 1/9] qemu-io: Fix writethrough check in reopen

2018-08-26 Thread Alberto Garcia
"qemu-io reopen" doesn't allow changing the writethrough setting of the cache, but the check is wrong, causing an error even on a simple reopen with the default parameters: $ qemu-img create -f qcow2 hd.qcow2 1M $ qemu-system-x86_64 -monitor stdio -drive if=virtio,file=hd.qcow2 (qemu) qem