Skip to content

Nested virtualization fixes for QEMU

Anup Patel qemu-devel qemu-riscv 3 versions – Applied

Status from this message: Applied to riscv-to-apply.next

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesApplied
  2. v25 patches 13 repliesApplied
  3. v15 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Dropped PATCH1 since it is already merged
- Rebased on latest riscv-to-apply.next branch of Alistair

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4target/riscv: Update VS timer whenever htimedelta changestarget/riscv/csr.c+16 -00 replies
2/4target/riscv: Don't clear mask in riscv_cpu_update_mip() for VSTIPtarget/riscv/cpu_helper.c target/riscv/time_helper.c+8 -60 replies
3/4target/riscv: No need to re-start QEMU timer when timecmp == UINT64_MAXtarget/riscv/time_helper.c+24 -00 replies
4/4target/riscv: Ensure opcode is saved for all relevant instructionstarget/riscv/insn_trans/trans_rva.c.inc target/riscv/insn_trans/trans_rvd.c.inc target/riscv/insn_trans/trans_rvf.c.inc +4 more+21 -31 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlistair Francis
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/4] Nested virtualization fixes for QEMU

This series mainly includes fixes discovered while developing nested virtualization running on QEMU.

These patches can also be found in the riscv_nested_fixes_v3 branch at:
https://github.com/avpatel/qemu.git

Changes since v2:
- Dropped PATCH1 since it is already merged
- Rebased on latest riscv-to-apply.next branch of Alistair

Changes since v1:
- Added Alistair's Reviewed-by tags to appropriate patches
- Added detailed comment block in PATCH4

Anup Patel (4):
target/riscv: Update VS timer whenever htimedelta changes target/riscv: Don't clear mask in riscv_cpu_update_mip() for VSTIP target/riscv: No need to re-start QEMU timer when timecmp ==

    UINT64_MAX

target/riscv: Ensure opcode is saved for all relevant instructions

 target/riscv/cpu_helper.c                   |  2 --
 target/riscv/csr.c                          | 16 +++++++++
 target/riscv/insn_trans/trans_rva.c.inc     | 10 ++++--
 target/riscv/insn_trans/trans_rvd.c.inc     |  2 ++
 target/riscv/insn_trans/trans_rvf.c.inc     |  2 ++
 target/riscv/insn_trans/trans_rvh.c.inc     |  3 ++
 target/riscv/insn_trans/trans_rvi.c.inc     |  2 ++
 target/riscv/insn_trans/trans_rvzfh.c.inc   |  2 ++
 target/riscv/insn_trans/trans_svinval.c.inc |  3 ++
 target/riscv/time_helper.c                  | 36 ++++++++++++++++++---
 10 files changed, 69 insertions(+), 9 deletions(-)
Signature · 1 line
2.34.1