mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
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
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<cpu mode='custom' match='exact'>
|
||||
<arch>ppc64</arch>
|
||||
<model fallback='allow'>POWER8_v1.0</model>
|
||||
<model fallback='allow'>POWER7_v2.3</model>
|
||||
<vendor>IBM</vendor>
|
||||
</cpu>
|
||||
|
||||
Reference in New Issue
Block a user