]> xenbits.xensource.com Git - libvirt.git/commit
qemu: capabilities: Add detection of the 'savevm' fix for -blockdev
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Sep 2019 15:10:08 +0000 (17:10 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 22 Nov 2019 11:51:27 +0000 (12:51 +0100)
commit5b4b503be6352926e02634e45529995fa1e8dd2e
tree83afcb77cae8a391c7c50e30084f654b9cd96776
parente0300f92fc07d3ed15662cc7158ae20e1d796834
qemu: capabilities: Add detection of the 'savevm' fix for -blockdev

The 'savevm' HMP command didn't work properly with blockdev as it tried
to do snapshot of everything including the protocol nodes accessing
files which are not snapshottable. Qemu fixed this bug so now we need to
detect it to allow enabling blockdev.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_4.2.0.aarch64.xml
tests/qemucapabilitiesdata/caps_4.2.0.x86_64.xml