Skip to content

pseries: savevm / migration support

Alexey Kardashevskiy qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 12 repliesIn review
  2. v11 patch 5 repliesSuperseded

Changes to the previous version from the cover letter

* ppc cpu savevm convertion fixed to use PowerPCCPU instead of CPUPPCState;
* VSCSI fixed to save active requests;
* XICS interrupt controller migration fixed (did not resume with pending interrupt);

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/13target-ppc kvm: save cr registertarget-ppc/kvm.c+5 -00 replies
2/13savevm: Implement VMS_DIVIDE flaginclude/migration/vmstate.h savevm.c+21 -00 replies
3/13target-ppc: Convert ppc cpu savevm to VMStateDescriptiontarget-ppc/cpu-qom.h target-ppc/cpu.h target-ppc/machine.c +1 more+460 -931 reply
4/13pseries: savevm support for XICS interrupt controllerhw/ppc/xics.c+66 -43 replies
5/13pseries: savevm support for VIO deviceshw/ppc/spapr_vio.c include/hw/ppc/spapr_vio.h+25 -00 replies
6/13pseries: savevm support for PAPR VIO logical lanhw/char/spapr_vty.c hw/net/spapr_llan.c+38 -20 replies
7/13pseries: savevm support for PAPR TCE tableshw/ppc/spapr_iommu.c+28 -20 replies
8/13pseries: rework PAPR virtual SCSIhw/scsi/spapr_vscsi.c+131 -930 replies
9/13pseries: savevm support for PAPR virtual SCSIhw/scsi/spapr_vscsi.c+81 -10 replies
10/13pseries: savevm support for pseries machinehw/ppc/spapr.c hw/ppc/spapr_hcall.c include/hw/ppc/spapr.h+281 -80 replies
11/13pseries: savevm support for PCI host bridgehw/ppc/spapr_pci.c include/hw/pci-host/spapr.h+52 -33 replies
12/13target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKENtarget-ppc/kvm.c target-ppc/kvm_ppc.h+21 -02 replies
13/13pseries: savevm support with KVMhw/ppc/spapr.c include/hw/ppc/spapr.h target-ppc/kvm.c +1 more+177 -230 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH 00/13 v2] pseries: savevm / migration support

This series lived for a while in David's tree. However QEMU mutated quite a lot so some fixes were needed.

I still have to learn how to force git not to overwrite the original commit author :-/ Is there any way to tell the original creator in the commit message so it could live in a git forever and survive commit changes?

Changes to the previous version:
* ppc cpu savevm convertion fixed to use PowerPCCPU instead of CPUPPCState;
* VSCSI fixed to save active requests;
* XICS interrupt controller migration fixed (did not resume with pending interrupt);

Also the series include VSCSI driver rework which is not entirely related to live migration but does not make much sense alone.

Alexey Kardashevskiy (5):
target-ppc kvm: save cr register
target-ppc: Convert ppc cpu savevm to VMStateDescription
pseries: rework PAPR virtual SCSI
pseries: savevm support for PAPR virtual SCSI
pseries: savevm support for PCI host bridge

David Gibson (8):
savevm: Implement VMS_DIVIDE flag
pseries: savevm support for XICS interrupt controller
pseries: savevm support for VIO devices
pseries: savevm support for PAPR VIO logical lan
pseries: savevm support for PAPR TCE tables
pseries: savevm support for pseries machine
target-ppc: Add helper for KVM_PPC_RTAS_DEFINE_TOKEN
pseries: savevm support with KVM

 hw/char/spapr_vty.c         |   16 ++
 hw/net/spapr_llan.c         |   24 +-
 hw/ppc/spapr.c              |  331 +++++++++++++++++++++++++-
 hw/ppc/spapr_hcall.c        |    8 +-
 hw/ppc/spapr_iommu.c        |   30 ++-
 hw/ppc/spapr_pci.c          |   49 ++++
 hw/ppc/spapr_vio.c          |   20 ++
 hw/ppc/xics.c               |   70 +++++-
 hw/scsi/spapr_vscsi.c       |  306 ++++++++++++++++--------
 include/hw/pci-host/spapr.h |    6 +-
 include/hw/ppc/spapr.h      |   13 +-
 include/hw/ppc/spapr_vio.h  |    5 +
 include/migration/vmstate.h |   13 ++
 savevm.c                    |    8 +
 target-ppc/cpu-qom.h        |    4 +
 target-ppc/cpu.h            |    8 +-
 target-ppc/kvm.c            |   88 +++++++
 target-ppc/kvm_ppc.h        |   29 +++
 target-ppc/machine.c        |  539 ++++++++++++++++++++++++++++++++++++-------
 target-ppc/translate_init.c |    2 +
 20 files changed, 1363 insertions(+), 206 deletions(-)
Signature · 1 line
1.7.10.4