Kevin,
Thanks for the suggestion of share-rw=on. I figured I'd try to change our 'xkvm' wrapper around qemu to use that.
Unfortunately, it looks like , at least in our version of qemu (QEMU emulator
version 2.10.0(Debian 1:2.10+dfsg-0ubuntu1)), that this does not work
with the -drive path.
$ qemu-img create -f qcow2 disk1.img 1G
$ qemu-system-x86_64 \
-device virtio-net-pci,netdev=net00 \
-netdev type=user,id=net00 \
-drive id=drive01,file=disk1.img,format=qcow2,share-rw=on \
-device drive=drive01,serial=sn-drive01,driver=virtio-blk,index=1 \
-device drive=drive01,serial=sn-drive01,driver=virtio-blk,index=2
qemu-system-x86_64: -drive id=drive01,file=disk1.img,format=qcow2,share-rw=on: Block format 'qcow2' does not support the option 'share-rw'
I had thought you were suggesting the above, right?
Kevin,
Thanks for the suggestion of share-rw=on. I figured I'd try to change our 'xkvm' wrapper around qemu to use that.
Unfortunately, it looks like , at least in our version of qemu (QEMU emulator dfsg-0ubuntu1) ), that this does not work
version 2.10.0(Debian 1:2.10+
with the -drive path.
$ qemu-img create -f qcow2 disk1.img 1G net-pci, netdev= net00 \ file=disk1. img,format= qcow2,share- rw=on \ serial= sn-drive01, driver= virtio- blk,index= 1 \ serial= sn-drive01, driver= virtio- blk,index= 2 file=disk1. img,format= qcow2,share- rw=on: Block format 'qcow2' does not support the option 'share-rw'
$ qemu-system-x86_64 \
-device virtio-
-netdev type=user,id=net00 \
-drive id=drive01,
-device drive=drive01,
-device drive=drive01,
qemu-system-x86_64: -drive id=drive01,
I had thought you were suggesting the above, right?