On 03/02/21 09:40, Han Han wrote:
Hi Paolo,
I find there is no warning for the nolazy_refcounts option(qemu
v5.2.0-1530-g74208cd252):
$ qemu-img create /tmp/b.qcow2 -f qcow2 10M -o nolazy_refcounts
Formatting '/tmp/b.qcow2', fmt=qcow2 cluster_size=65536 extended_l2=off
compression_type=zlib size=10485760 lazy_refcounts=off refcount_bits=16
Could you please help to check if this short-form boolean option is
missing in the commit "ccd3b3b811 qemu-option: warn for short-form
boolean options"
This is indeed a slightly different path that doesn't warn yet, but I
suggest changing it anyway. It will work with all versions of QEMU.
Paolo