v3: - preparatory cleanup in pnv (patch 1) - rework ICPState realization and vmstate registration (patches 2,3,4) - fix migration using dummy icp/server entries (patch 5)
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 This was lightly tested. -- Greg --- Greg Kurz (5): pnv_core: drop reference on ICPState object during CPU realization xics: add reset() handler to ICPStateClass xics: setup cpu at realize time xics: directly register ICPState objects to vmstate spapr: fix migration of ICPState objects from/to older QEMU hw/intc/xics.c | 86 ++++++++++++++++++++++------------------------ hw/intc/xics_kvm.c | 27 +------------- hw/ppc/pnv_core.c | 15 ++++---- hw/ppc/spapr.c | 88 ++++++++++++++++++++++++++++++++++++++++++++++- hw/ppc/spapr_cpu_core.c | 21 +++++------ include/hw/ppc/spapr.h | 2 + include/hw/ppc/xics.h | 3 +- 7 files changed, 148 insertions(+), 94 deletions(-)