[PATCH v9 0/2] target/riscv:Fix riscv64 kvm migration

Xie Bo posted 2 patches 1 week, 6 days ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20250915070811.3422578-1-xb@ultrarisc.com
Maintainers: Palmer Dabbelt <palmer@dabbelt.com>, Alistair Francis <alistair.francis@wdc.com>, Weiwei Li <liwei1518@gmail.com>, Daniel Henrique Barboza <dbarboza@ventanamicro.com>, Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
target/riscv/cpu.c           | 17 +++++++++-
target/riscv/cpu.h           |  2 ++
target/riscv/kvm/kvm-cpu.c   | 60 ++++++++++++++++++++++++++++--------
target/riscv/kvm/kvm_riscv.h |  3 +-
target/riscv/machine.c       |  5 +--
5 files changed, 70 insertions(+), 17 deletions(-)
[PATCH v9 0/2] target/riscv:Fix riscv64 kvm migration
Posted by Xie Bo 1 week, 6 days ago
This is v9 of the series. Compared to v8, the patches are now based on
the 'riscv-to-apply.next' branch from Alistair's repository:

https://github.com/alistair23/qemu/tree/riscv-to-apply.next

Changes since v8:
- Rebased the series onto [alistair/riscv-to-apply.next]
- Removed the previous 'Reviewed-by' tags due to the rebase
  * The changes are purely mechanical; no code logic was altered *
- Added 'Cc: qemu-stable@nongnu.org'

Xie Bo (2):
  Set KVM initial privilege mode and mp_state
  Fix VM resume after QEMU+KVM migration

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

-- 
2.43.0
Re: [PATCH v9 0/2] target/riscv:Fix riscv64 kvm migration
Posted by Andrew Jones 1 week, 5 days ago
On Mon, Sep 15, 2025 at 03:08:06PM +0800, Xie Bo wrote:
> This is v9 of the series. Compared to v8, the patches are now based on
> the 'riscv-to-apply.next' branch from Alistair's repository:
> 
> https://github.com/alistair23/qemu/tree/riscv-to-apply.next
> 
> Changes since v8:
> - Rebased the series onto [alistair/riscv-to-apply.next]
> - Removed the previous 'Reviewed-by' tags due to the rebase

Please don't do that. If the rebase doesn't require a rework of the logic,
then the patches don't change in any significant way, so reviewers
shouldn't need to look at them again.

Anyway, for the series (since I can't see any difference from before)

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>

Thanks,
drew

>   * The changes are purely mechanical; no code logic was altered *
> - Added 'Cc: qemu-stable@nongnu.org'
> 
> Xie Bo (2):
>   Set KVM initial privilege mode and mp_state
>   Fix VM resume after QEMU+KVM migration
> 
>  target/riscv/cpu.c           | 17 +++++++++-
>  target/riscv/cpu.h           |  2 ++
>  target/riscv/kvm/kvm-cpu.c   | 60 ++++++++++++++++++++++++++++--------
>  target/riscv/kvm/kvm_riscv.h |  3 +-
>  target/riscv/machine.c       |  5 +--
>  5 files changed, 70 insertions(+), 17 deletions(-)
> 
> -- 
> 2.43.0
>