[Qemu-devel] [RFC PATCH v1 0/6] ppc/spapr: Fix migration of radix guests

Bharata B Rao posted 6 patches 8 years, 8 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1494992962-6929-1-git-send-email-bharata@linux.vnet.ibm.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
hw/net/vmxnet3.c            |  2 +-
hw/ppc/spapr.c              | 43 +++++++++++++++++++++++++++++++++++++------
hw/ppc/spapr_hcall.c        | 38 +++++++++++++++++---------------------
hw/s390x/s390-skeys.c       |  2 +-
include/hw/ppc/spapr.h      | 14 ++++++++++++++
include/migration/vmstate.h |  4 +++-
migration/savevm.c          | 16 +++++++++++++---
slirp/slirp.c               |  2 +-
8 files changed, 87 insertions(+), 34 deletions(-)
[Qemu-devel] [RFC PATCH v1 0/6] ppc/spapr: Fix migration of radix guests
Posted by Bharata B Rao 8 years, 8 months ago
This patchset fixes the migration of sPAPR radix guests.

Changes in v1:
--------------
- Added two patches to fix generic savevm unregistration issues.
- HTAB savevm handlers are now registered/unregistered when HTAB
  is created/destroyed instead of doing this in CAS call (as in v0).

TODO:
- I have checks in spapr_post_load() to detect and fail the migration
  of radix guest to a host that doesn't support radix. However I couldn't
  test this as I am hitting some other unrelated migration failure
  when testing this path.
- I have tested may scenarios like
  - tcg hash->hash, radix->radix, hash->radix and radix->hash reboot
  - kvm hash reboot and migration
  - kvm radix reboot and migration
  However boot->reboot->migration of radix guest doesn't complete
  and this seems to be a different issue to be fixed.

v0: https://lists.gnu.org/archive/html/qemu-ppc/2017-05/msg00197.html

Bharata B Rao (6):
  migration: Fix unregister_savevm()
  migration: Introduce unregister_savevm_live()
  spapr: Make h_register_process_table hcall flags global
  spapr: Consolidate HPT freeing code into a routine
  spapr: Unregister HPT savevm handlers for radix guests
  spapr: Fix migration of Radix guests

 hw/net/vmxnet3.c            |  2 +-
 hw/ppc/spapr.c              | 43 +++++++++++++++++++++++++++++++++++++------
 hw/ppc/spapr_hcall.c        | 38 +++++++++++++++++---------------------
 hw/s390x/s390-skeys.c       |  2 +-
 include/hw/ppc/spapr.h      | 14 ++++++++++++++
 include/migration/vmstate.h |  4 +++-
 migration/savevm.c          | 16 +++++++++++++---
 slirp/slirp.c               |  2 +-
 8 files changed, 87 insertions(+), 34 deletions(-)

-- 
2.7.4