[libvirt] [PATCH 10/18] cpu: CPU model names have to match on ppc64

Jiri Denemark jdenemar at redhat.com
Thu Aug 6 09:25:00 UTC 2015


On Tue, Aug 04, 2015 at 11:38:01 +0200, Andrea Bolognani wrote:
> 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.
> ---
>  src/cpu/cpu_ppc64.c                                                  | 5 +----
>  tests/cputest.c                                                      | 4 ++--
>  tests/cputestdata/ppc64-guest.xml                                    | 2 +-
>  tests/cputestdata/ppc64-host+guest,ppc_models-result.xml             | 2 +-
>  .../ppc64-host+guest-nofallback,ppc_models,POWER7_v2.1-result.xml    | 5 -----
>  5 files changed, 5 insertions(+), 13 deletions(-)
>  delete mode 100644 tests/cputestdata/ppc64-host+guest-nofallback,ppc_models,POWER7_v2.1-result.xml

ACK

Jirka




More information about the libvir-list mailing list