]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Fix CPU model fallback in domain capabilities
authorJiri Denemark <jdenemar@redhat.com>
Tue, 10 Jan 2017 20:07:23 +0000 (21:07 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 24 Feb 2017 13:10:57 +0000 (14:10 +0100)
commit390a1e2bfdfc3581d0290efce50a015e3fd8253d
treeb63709684f34b410ac9aec35bb866f9772cf5544
parentbd440735e300926dd697c6b136ab5307a8b51aad
qemu: Fix CPU model fallback in domain capabilities

Our documentation of the domain capabilities XML says that the fallback
attribute of a CPU model is used to indicate whether the CPU model was
detected by libvirt itself (fallback="allow") or by asking the
hypervisor (fallback="forbid"). We need to properly set
fallback="forbid" when CPU model comes from QEMU to match the
documentation.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/qemu/qemu_capabilities.c
tests/domaincapsschemadata/qemu_2.8.0.s390x.xml