[PATCH 0/4] Improve handling of ppc64 compatibility modes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes an issue that prevented save / restore from
working when using compatibility modes; it also introduces
some new checks to make sure the requested compability
configuration is actually supported and a few test cases.

Cheers.


Andrea Bolognani (4):
  cpu: Don't update host-model guest CPUs on ppc64
  cpu: Better support for ppc64 compatibility modes
  cpu: Move check for NULL CPU model inside the driver
  tests: Add some compatibility-related cases to the CPU tests

 src/cpu/cpu.c                                      | 12 ---
 src/cpu/cpu_generic.c                              |  6 ++
 src/cpu/cpu_ppc64.c                                | 98 ++++++++++++++++++++--
 src/cpu/cpu_x86.c                                  |  6 ++
 tests/cputest.c                                    | 14 ++++
 .../ppc64-guest-compat-incompatible.xml            |  3 +
 tests/cputestdata/ppc64-guest-compat-invalid.xml   |  3 +
 tests/cputestdata/ppc64-guest-compat-none.xml      |  1 +
 tests/cputestdata/ppc64-guest-compat-valid.xml     |  3 +
 tests/cputestdata/ppc64-guest-host-model.xml       |  3 +
 .../ppc64-host+guest-compat-incompatible.xml       |  3 +
 .../ppc64-host+guest-compat-invalid.xml            |  3 +
 tests/cputestdata/ppc64-host+guest-compat-none.xml |  3 +
 .../cputestdata/ppc64-host+guest-compat-valid.xml  |  3 +
 tests/cputestdata/ppc64-host+guest-host-model.xml  |  3 +
 .../ppc64-host+guest-legacy-incompatible.xml       |  3 +
 .../ppc64-host+guest-legacy-invalid.xml            |  3 +
 tests/cputestdata/ppc64-host+guest-legacy.xml      |  3 +
 tests/cputestdata/ppc64-host+guest-nofallback.xml  |  3 +
 tests/cputestdata/ppc64-host+guest.xml             |  3 +
 20 files changed, 162 insertions(+), 17 deletions(-)
 create mode 100644 tests/cputestdata/ppc64-guest-compat-incompatible.xml
 create mode 100644 tests/cputestdata/ppc64-guest-compat-invalid.xml
 create mode 100644 tests/cputestdata/ppc64-guest-compat-none.xml
 create mode 100644 tests/cputestdata/ppc64-guest-compat-valid.xml
 create mode 100644 tests/cputestdata/ppc64-guest-host-model.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-compat-incompatible.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-compat-invalid.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-compat-none.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-compat-valid.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-host-model.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-legacy-incompatible.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-legacy-invalid.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-legacy.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest-nofallback.xml
 create mode 100644 tests/cputestdata/ppc64-host+guest.xml

-- 
2.4.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]