checkwrite: Add working example using qemu-img convert
commitc7420c043cba7ad409ed44c219447d545fbb022b
authorRichard W.M. Jones <rjones@redhat.com>
Tue, 19 Jul 2022 16:55:16 +0000 (19 17:55 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Tue, 19 Jul 2022 16:55:16 +0000 (19 17:55 +0100)
tree3a0fb6b0af45568601f2dcab3fb3644dccfc21f2
parent3b6763c82909c95431ff57c2fe9be1b98316b057
checkwrite: Add working example using qemu-img convert

When creating the target disk image, qemu-img convert starts by
zeroing the first sector of the output to remove rogue signatures
(block.c:create_file_fallback_zero_first_sector).  Therefore you must
use the -n (no create) option to suppress this.  Apart from that it
works similarly to nbdcopy.

Thanks: Hanna Reitz
filters/checkwrite/nbdkit-checkwrite-filter.pod