]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Check for drop-cache capability
authorJiri Denemark <jdenemar@redhat.com>
Tue, 13 Aug 2019 13:17:36 +0000 (15:17 +0200)
committerJiri Denemark <jdenemar@redhat.com>
Wed, 14 Aug 2019 07:36:43 +0000 (09:36 +0200)
commit598ec0db685eb63c99fcb7905ffd73bb714f1cf4
tree7721aa91a1113c2cc58dcd83614c0cd5a482313b
parent4748f8df29e3ac4fe321ee60c1738cbfe378295e
qemu: Check for drop-cache capability

QEMU 4.0.0 and newer automatically drops caches at the end of migration.
Let's check for this capability so that we can allow migration when disk
cache is turned on.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Acked-By: Peter Krempa <pkrempa@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_4.0.0.aarch64.xml
tests/qemucapabilitiesdata/caps_4.0.0.ppc64.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
tests/qemucapabilitiesdata/caps_4.0.0.s390x.xml
tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml
tests/qemucapabilitiesdata/caps_4.1.0.x86_64.xml