]> git.ipfire.org Git - thirdparty/libvirt.git/commit
cpu: CPU model names have to match on ppc64
authorAndrea Bolognani <abologna@redhat.com>
Fri, 7 Aug 2015 15:39:10 +0000 (17:39 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Tue, 11 Aug 2015 09:04:57 +0000 (11:04 +0200)
commit96b2c7459cb689a27996c2d69131e245940bc533
tree2e773289f71e5abe42e200b9e5659ec8cc6a3a1b
parent8382136d42fd2caf2e5c7ad3b579f4fc5f104533
cpu: CPU model names have to match on ppc64

Limitations of the POWER architecture mean that you can't run
eg. a POWER7 guest on a POWER8 host when using KVM. This applies
to all guests, not just those using VIR_CPU_MATCH_STRICT in the
CPU definition; in fact, exact and strict CPU matching are
basically the same on ppc64.

This means, of course, that hosts using different CPUs have to be
considered incompatible as well.

Change ppc64Compute(), called by cpuGuestData(), to reflect this
fact and update test cases accordingly.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1250977
src/cpu/cpu_ppc64.c
tests/cputest.c
tests/cputestdata/ppc64-guest.xml
tests/cputestdata/ppc64-host+guest,ppc_models-result.xml
tests/cputestdata/ppc64-host+guest-nofallback,ppc_models,POWER7_v2.1-result.xml [deleted file]