On 12/11/2017 03:37 PM, Hilko Bengen wrote: > * Emmanuel Kasper: > >> After upgrading libguestfs0 to 1.36, the sub routine disk_virtual_size >> fails with a qemu-img error. > > I assume that you mean the error below, am I correct?
Yes. > ,---- > | qemu-img: Could not open '/dev/fd/3': Failed to get shared "write" lock > | Is another process using the image? > | qemu-img info: test1.vmdk: qemu-img info exited with error status 1, see > debug messages above at bug.pl line 19. > `---- > > Is the .vmdk file writable by the user running the script? > Yes. Using the reproducer in the bug report, the vmdk is created as the same user trying to read the virtual disk size.