Skip to content

RFC ppc: nested TCG migration (KVM-on-TCG)

Fabiano Rosas qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4target/ppc: TCG: Migrate tb_offset and decrtarget/ppc/machine.c+17 -04 replies
2/4spapr: TCG: Migrate spapr_cpu->prodhw/ppc/spapr_cpu_core.c include/hw/ppc/spapr_cpu_core.h+2 -12 replies
3/4hw/ppc: Take nested guest into account when saving timebasehw/ppc/ppc.c+16 -13 replies
4/4spapr: Add KVM-on-TCG migration supporthw/ppc/spapr.c hw/ppc/spapr_cpu_core.c target/ppc/machine.c+139 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/4] ppc: nested TCG migration (KVM-on-TCG)

This series implements the migration for a TCG pseries guest running a nested KVM guest. This is just like migrating a pseries TCG guest, but with some extra state to allow a nested guest to continue to run on the destination.

Unfortunately the regular TCG migration scenario (not nested) is not fully working so I cannot be entirely sure the nested migration is correct. I have included a couple of patches for the general migration case that (I think?) improve the situation a bit, but I'm still seeing hard lockups and other issues with more than 1 vcpu.

This is more of an early RFC to see if anyone spots something right away. I haven't made much progress in debugging the general TCG migration case so if anyone has any input there as well I'd appreciate it.

Thanks

Fabiano Rosas (4):
target/ppc: TCG: Migrate tb_offset and decr
spapr: TCG: Migrate spapr_cpu->prod
hw/ppc: Take nested guest into account when saving timebase
spapr: Add KVM-on-TCG migration support

 hw/ppc/ppc.c                    | 17 +++++++-
 hw/ppc/spapr.c                  | 19 ++++++++
 hw/ppc/spapr_cpu_core.c         | 77 +++++++++++++++++++++++++++++++++
 include/hw/ppc/spapr_cpu_core.h |  2 +-
 target/ppc/machine.c            | 61 ++++++++++++++++++++++++++
 5 files changed, 174 insertions(+), 2 deletions(-)
Signature · 1 line
2.34.1