[Qemu-devel] [PATCH v2 0/4] spapr/xics: fix migration of older machine types

Greg Kurz posted 4 patches 6 years, 10 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
hw/ppc/spapr.c              |   57 +++++++++++++++++++++++++++++++++++--------
hw/ppc/spapr_cpu_core.c     |   28 +++++++++++++++------
include/hw/ppc/spapr.h      |    2 ++
target/ppc/cpu.h            |   17 +++++++++++++
target/ppc/translate_init.c |    3 +-
5 files changed, 86 insertions(+), 21 deletions(-)
[Qemu-devel] [PATCH v2 0/4] spapr/xics: fix migration of older machine types
Posted by Greg Kurz 6 years, 10 months ago
v2: - some patches from v1 are already merged in ppc-for-2.10
    - added a new fix to a potential memory leak (patch 1)
    - consolidate dt_id computation (patch 3)
    - see individual changelogs for patch 2 and 4

This series is based on:

https://github.com/dgibson/qemu.git ppc-for-2.10

I could successfully migrate from QEMU 2.9 and back, including when the guest
has different threads per core than the host and hotplugging cores between
each migration attempt.

--
Greg

---

Greg Kurz (4):
      spapr_cpu_core: drop reference on ICP object during CPU realization
      spapr: fix error reporting in xics_system_init()
      target/ppc: consolidate CPU device-tree id computation in helper
      spapr: fix migration of ICP objects from/to older QEMU


 hw/ppc/spapr.c              |   57 +++++++++++++++++++++++++++++++++++--------
 hw/ppc/spapr_cpu_core.c     |   28 +++++++++++++++------
 include/hw/ppc/spapr.h      |    2 ++
 target/ppc/cpu.h            |   17 +++++++++++++
 target/ppc/translate_init.c |    3 +-
 5 files changed, 86 insertions(+), 21 deletions(-)