[Qemu-devel] [PATCH v2 0/2] spapr: fix migration with nested KVM PR

Greg Kurz posted 2 patches 6 years, 7 months ago
Failed in applying to current master (apply log)
hw/ppc/spapr.c          |   61 +++++++++++++++++++++++++++++++++++++++++++----
hw/ppc/spapr_cpu_core.c |   15 ------------
hw/ppc/spapr_hcall.c    |   16 +-----------
include/hw/ppc/spapr.h  |    1 +
target/ppc/cpu.h        |    5 ++++
target/ppc/machine.c    |   18 ++++++++++++++
6 files changed, 81 insertions(+), 35 deletions(-)
[Qemu-devel] [PATCH v2 0/2] spapr: fix migration with nested KVM PR
Posted by Greg Kurz 6 years, 7 months ago
A guest running with KVM PR ends up irresponsive after migration most of the
time. This happens because the HPT allocated by QEMU is likely to have a
different address on the destination than it had on the source, but we push
the source address to KVM.

This v2 is a total rewrite.

Cheers,

--
Greg

---

Greg Kurz (2):
      spapr: introduce common helper to write HPT address to KVM PR
      spapr: preserve SDR1 during migration


 hw/ppc/spapr.c          |   61 +++++++++++++++++++++++++++++++++++++++++++----
 hw/ppc/spapr_cpu_core.c |   15 ------------
 hw/ppc/spapr_hcall.c    |   16 +-----------
 include/hw/ppc/spapr.h  |    1 +
 target/ppc/cpu.h        |    5 ++++
 target/ppc/machine.c    |   18 ++++++++++++++
 6 files changed, 81 insertions(+), 35 deletions(-)