This series(v5) replaces the earlier single patch "[PATCH v4 for v10.0.0] 
target/riscv/kvm/kvm-cpu: Fixed the issue of resume after QEMU+KVM migration".

Changes since v4:
- Split the patch into 2 patches
- Fix formatting issues
- Vmstate version bump

 Patch 1 sets the initial value of the vCPU to S-mode in KVM mode and add 
mp_state.
 Patch 2 adds saving and restoring of the vCPU's privilege mode and running 
states, fixing the migration functionality in KVM mode.
 The functionality of Patch 2 depends on Patch 1 to take effect.

 Based on these two patches, we have successfully performed live migration of 
virtual machines between two physical machines.

Xie Bo (2):
  target/riscv:Set KVM initial privilege mode and mp_state
  target/riscv/kvm:Fixed the issue of resume after QEMU+KVM migration

 target/riscv/cpu.c           | 11 ++++++-
 target/riscv/cpu.h           |  2 ++
 target/riscv/kvm/kvm-cpu.c   | 59 ++++++++++++++++++++++++++++--------
 target/riscv/kvm/kvm_riscv.h |  3 +-
 target/riscv/machine.c       |  5 +--
 5 files changed, 63 insertions(+), 17 deletions(-)

-- 
2.43.0


Reply via email to