[Qemu-devel] [PATCH v4 0/2] ppc/spapr: Fix migration of radix guests

Bharata B Rao posted 2 patches 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1496230005-12265-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/ppc/spapr.c | 43 +++++++++++++++++++++++++++++--------------
1 file changed, 29 insertions(+), 14 deletions(-)
[Qemu-devel] [PATCH v4 0/2] ppc/spapr: Fix migration of radix guests
Posted by Bharata B Rao 6 years, 10 months ago
This patchset fixes the migration of sPAPR radix guests.

Changes in v4
-------------
- The earlier approach of keeping the HTAB savevm handlers registered
  only for hash guests by explicitly deregistering does leave out a few
  corner cases which become ugly/difficult to fix. Hence based on
  David Gibson's suggestion, this new approach adds a new
  "no HPT" encoding into the migration stream when guest doesn't
  allocate HPT.
- There are a few assumptions in HTAB savevm handlers that spapr->htab
  will not be set only for KVM guests. This is no longer true with
  radix TCG guests. Fix this assumption. These changes enable TCG migration
  to work. However guest kernel failures are observed post migration which
  need to be fixed separately. This changes could acutally go into
  a separate patch.

v3: https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg05434.html

Bharata B Rao (2):
  spapr: Add a "no HPT" encoding to HTAB migration stream
  spapr: Fix migration of Radix guests

 hw/ppc/spapr.c | 43 +++++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 14 deletions(-)

-- 
2.7.4