While not appeared on the Mailing List Archive as a link I have the reply.
TL;DR: The --no-lock option was later revised into --force-share
So you'd need to revise the calling code to:
$ qemu-img info --force-share ...
If you want/need to probe for lock features to know when to add that flag (other than >=2.10) we had a discussion about that in bug 1716028, so you can read some details there.
While not appeared on the Mailing List Archive as a link I have the reply.
TL;DR: The --no-lock option was later revised into --force-share
So you'd need to revise the calling code to:
$ qemu-img info --force-share ...
If you want/need to probe for lock features to know when to add that flag (other than >=2.10) we had a discussion about that in bug 1716028, so you can read some details there.