]> xenbits.xensource.com Git - libvirt.git/commit
qemu_capabilities: Introduce QEMU_CAPS_OVERCOMMIT
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2019 08:16:06 +0000 (10:16 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 12 Apr 2019 11:42:39 +0000 (13:42 +0200)
commitbe51feff69ecdca9f0f56eb6f0c958857c652eea
tree0705fe0fdb6292849ff75e1e5716894fab7b75b5
parenta08c4b3741f2e042b48e8a09a53af5fb7ec9f7c0
qemu_capabilities: Introduce QEMU_CAPS_OVERCOMMIT

Added in QEMU commit of v3.0.0-rc0~48^2~9 (then fixed by
v3.1.0-rc0~119^2~37) QEMU is replacing '-realtime mlock' with
'-overcommit mem-lock'. Add a capability to tell if we're dealing
new new enough qemu to use the replacement.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_capabilities.c
src/qemu/qemu_capabilities.h
tests/qemucapabilitiesdata/caps_3.1.0.ppc64.xml
tests/qemucapabilitiesdata/caps_3.1.0.x86_64.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv32.xml
tests/qemucapabilitiesdata/caps_4.0.0.riscv64.xml
tests/qemucapabilitiesdata/caps_4.0.0.x86_64.xml