]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: Optionally forbid fallback CPU models
authorJiri Denemark <jdenemar@redhat.com>
Wed, 21 Dec 2011 13:27:16 +0000 (14:27 +0100)
committerJiri Denemark <jdenemar@redhat.com>
Tue, 17 Jan 2012 10:39:19 +0000 (11:39 +0100)
commita6f88cbd2d50596ec0a2e9d1bd6fedcaef8e904e
treedc1c68273eb4bad72d07047e015552164650928e
parent23cf79f07ecc5dcfec834eed55fe3bac411694ec
cpu: Optionally forbid fallback CPU models

In case a hypervisor doesn't support the exact CPU model requested by a
domain XML, we automatically fallback to a closest CPU model the
hypervisor supports (and make sure we add/remove any additional features
if needed). This patch adds 'fallback' attribute to model element, which
can be used to disable this automatic fallback.
36 files changed:
docs/formatdomain.html.in
docs/schemas/domaincommon.rng
src/conf/cpu_conf.c
src/conf/cpu_conf.h
src/cpu/cpu_x86.c
src/qemu/qemu_command.c
tests/cputest.c
tests/cputestdata/x86-baseline-1-result.xml
tests/cputestdata/x86-baseline-2-result.xml
tests/cputestdata/x86-baseline-no-vendor-result.xml
tests/cputestdata/x86-baseline-some-vendors-result.xml
tests/cputestdata/x86-guest-nofallback.xml [new file with mode: 0644]
tests/cputestdata/x86-host+guest,model486-result.xml
tests/cputestdata/x86-host+guest,models,Penryn-result.xml
tests/cputestdata/x86-host+guest,models,qemu64-result.xml
tests/cputestdata/x86-host+guest,models-result.xml
tests/cputestdata/x86-host+guest-result.xml
tests/cputestdata/x86-host+guest.xml
tests/cputestdata/x86-host+min.xml
tests/cputestdata/x86-host+nehalem-force-result.xml
tests/cputestdata/x86-host+pentium3.xml
tests/cputestdata/x86-host+strict-force-extra-result.xml
tests/cputestdata/x86-host-better+pentium3,core2duo-result.xml
tests/cputestdata/x86-host-better+pentium3,pentium3-result.xml
tests/cputestdata/x86-host-better+pentium3-result.xml
tests/cputestdata/x86-host-worse+guest-result.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-exact1.xml
tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2-nofallback.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-exact2-nofallback.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-fallback.args [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-fallback.xml [new file with mode: 0644]
tests/qemuxml2argvdata/qemuxml2argv-cpu-nofallback.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/qemuxml2xmlout-graphics-spice-timeout.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c
tests/testutilsqemu.c