[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2019-01-22 Thread Thomas Huth
Since this was a libguestfs bug, let's close this here in the QEMU bug tracker now. ** Changed in: qemu Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1740

[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-11-02 Thread Richard Jones
Fixed upstream in https://github.com/libguestfs/libguestfs/commit/f00f920ad3b15ab8e9e8f201c16e7628b6b7b109 The fix should appear in libguestfs 1.40. ** Changed in: qemu Status: New => Fix Committed -- You received this bug notification because you are a member of qemu- devel-ml, which is

[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-11-02 Thread Richard Jones
Sorry I noticed this bug is filed against qemu. The fix was done in libguestfs, it's not a bug in qemu as far as I know. -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1740364 Title: qemu-img: fail

[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-01-05 Thread Ping Li
1. The error prompt may be misleading. I guess your backing image should be running. It should report that "failed to get the lock of backing image". The operation will be allowed in the future. 2. Check the help doc of qemu-img, the you can get the support sub-command by force share option "-U".

Re: [Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-01-05 Thread Richard Jones
On Fri, Jan 05, 2018 at 02:44:54AM -, Ping Li wrote: > The behaviour should be expected. Since qemu 2.10, image locking is > enabled which make multiple QEMU processes cannot write to the same > image, even if boot snapshot and backing file at the same time are > not allowed. > You could get i

[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-01-04 Thread Yaniv Kaul
Thanks for the explanation, I thought it might be related, but: 1. The command executed is: qemu-img create -f qcow2 -o backing_file=/home/ykaul/ovirt-system-tests/deployment-basic-suite-master/default/images/lago-basic-suite-master-host-1_root.qcow2 /tmp/libguestfsWrA7Dh/overlay1.qcow2 And the

[Qemu-devel] [Bug 1740364] Re: qemu-img: fails to get shared 'write' lock

2018-01-04 Thread Ping Li
The behaviour should be expected. Since qemu 2.10, image locking is enabled which make multiple QEMU processes cannot write to the same image, even if boot snapshot and backing file at the same time are not allowed. You could get image info with the option "-U" as below: $qemu-img info -U $ImageNa