]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Probe whether an image is 'qcow2 v2' from query-named-block-nodes
authorPeter Krempa <pkrempa@redhat.com>
Fri, 29 Jan 2021 13:35:57 +0000 (14:35 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Sat, 20 Feb 2021 12:20:32 +0000 (13:20 +0100)
commit253bce93d387f6e2f1473e47897d5bf24656c03e
treee4f4ce62c60c29c85fef11e0b864c70298b66d93
parent9e855e758919d93de7c22b1156a1c02ddceace89
qemu: Probe whether an image is 'qcow2 v2' from query-named-block-nodes

Such images don't support stuff like dirty bitmaps. Note that the
synthetic test for detecting bitmaps is used as an example to prevent
adding additional test cases.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
tests/qemublocktest.c
tests/qemublocktestdata/bitmap/synthetic.json
tests/qemublocktestdata/bitmap/synthetic.out