qemu-img could not open "image": failed to get shared "write" lock
I am writing a sandbox environment using a few tools like qemu libguestfs, hivex and others. I am running into an issue where once an image is running, qemu-img is unable to take a snapshot of it and errors out with the message in the title. What's weird is that on Debian 9 this issue is not present.
libguestfs-test-tool scan completes successfully here is the output. I have also found that there was a post about this issue before here
Is there an obvious solution that I am missing?
Thanks