[PATCH v6 for v10.0.0 0/2] target/riscv:Fix riscv64 kvm migration

Xie Bo posted 2 patches 2 weeks, 4 days ago
Failed in applying to current master (apply log)
There is a newer version of this series
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 v6 for v10.0.0 0/2] target/riscv:Fix riscv64 kvm migration
Posted by Xie Bo 2 weeks, 4 days ago
This series(v6) replaces the earlier series patch"[PATCH v5 for v10.0.0 0/2]
target/riscv: Fix riscv64 kvm migration".

Changes since v5:
- Fix commit message style
- Randomly select boot CPU instead of hardcoding cpu_index=0

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 v6 for v10.0.0 0/2] target/riscv:Fix riscv64 kvm migration
Posted by Michael Tokarev 2 weeks, 4 days ago
On 10.09.2025 12:35, Xie Bo wrote:
> This series(v6) replaces the earlier series patch"[PATCH v5 for v10.0.0 0/2]
> target/riscv: Fix riscv64 kvm migration".

Hi!

You're targetting qemu 10.0, while we already released 10.1,
and the next release is 10.2.

Does it mean your patchset should be applied to 10.2, and
cherry-picked to stable 10.0.x and 10.1.x series?

Thanks,

/mjt
Re: Re: [PATCH v6 for v10.0.0 0/2] target/riscv:Fix riscv64 kvm migration
Posted by 谢波 2 weeks, 3 days ago
Hi Michael,

Yes, the patch series is intended to be applied to the next development release, 10.2.  
Additionally, we want to cherry-pick it to the stable 10.0.x and 10.1.x series as well.

Best regards,
Xie Bo


> -----原始邮件-----
> 发件人: "Michael Tokarev" <mjt@tls.msk.ru>
> 发送时间:2025-09-10 17:53:14 (星期三)
> 收件人: "Xie Bo" <xb@ultrarisc.com>, qemu-devel@nongnu.org
> 抄送: ajones@ventanamicro.com, qemu-riscv@nongnu.org, pbonzini@redhat.com, anup@brainfault.org, alistair.francis@wdc.com, rkrcmar@ventanamicro.com, palmer@dabbelt.com, xiamy@ultrarisc.com
> 主题: Re: [PATCH v6 for v10.0.0 0/2] target/riscv:Fix riscv64 kvm migration
> 
> On 10.09.2025 12:35, Xie Bo wrote:
> > This series(v6) replaces the earlier series patch"[PATCH v5 for v10.0.0 0/2]
> > target/riscv: Fix riscv64 kvm migration".
> 
> Hi!
> 
> You're targetting qemu 10.0, while we already released 10.1,
> and the next release is 10.2.
> 
> Does it mean your patchset should be applied to 10.2, and
> cherry-picked to stable 10.0.x and 10.1.x series?
> 
> Thanks,
> 
> /mjt


______________________www.ultrarisc.com
重要提示:本邮件包括附件的内容是受法律保护的保密信息,如果您不是指定收件人,请立即将本邮件删除,法律禁止任何非法的披露、复制、传播或以任何方式使用本邮件。本邮件中包含的意见、建议是基于或受到我方表达和定义的条款及条件的限定,如无我方的正式书面澄清或授权,不可被单独作为任何情形下的证据或依据。感谢您的理解与配合。版权所有。IMPORTANT NOTICE: This email, including its attachment if any, is confidential. If you are not the intended recipient, please delete it from your computer immediately. Any disclosure, copying, or distribution of this message, or taking of any action based on it is strictly prohibited.  Any opinions and suggestions contained in this email are subject to the terms and conditions expressed and defined by us and should not be relied upon unconditionally under any circumstances unless they are confirmed in official written clarification or authorization from us.  Thank you for your understanding and cooperation.All rights reserved.