target/riscv/kvm: QEMU support for KVM Guest Debug on RISC-V
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
- v4 Latest3 patches 1 replyApplied
- v33 patches 1 replySuperseded
- v2 posting 2/23 patches 4 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 posting 1/2 | 3 patches | 0 replies | Superseded | |
| v1 | 4 patches | 9 replies | Superseded |
v2->v2 resend from the cover letter
- add the type conversion in patch #1 to avoid warnings
Patches in v4 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | target/riscv/kvm: add software breakpoints supporttarget/ | +69 | 0 replies | |
| 2/3 | target/riscv/kvm: handle the exit with debug reasontarget/ | +20 | 0 replies | |
| 3/3 | target/riscv/kvm: define TARGET_KVM_HAVE_GUEST_DEBUGconfigs/ | +1 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Andrew Jones | Alistair Francis | Daniel Henrique Barboza |
|---|---|---|---|
| 1/3 | R-b | A-b | |
| 2/3 | R-b | A-b | R-b |
| 3/3 | R-b | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v4 0/3] target/riscv/kvm: QEMU support for KVM Guest Debug on RISC-V
This series implements QEMU KVM Guest Debug on RISC-V, with which we could debug RISC-V KVM guest from the host side, using software breakpoints.
This series is based on riscv-to-apply.next branch and is also available at:
https://github.com/Du-Chao/alistair23-qemu/tree/riscv-to-apply.next.0606
The corresponding KVM side patches have been merged already:
https://lore.kernel.org/kvm/[email protected]/
A TODO list which will be added later:
1. HW breakpoints support
2. A 'corner case' in which the debug exception is not inserted by the debugger, need to be re-injected to the guest.
v3,v4:
- rebased.
v2->v2 resend:
- add the type conversion in patch #1 to avoid warnings
v1->v2:
- squash patch #2 into #1
- check the instruction length from the tail two bits, instead of passing the length information by parameters.
RFC->v1:
- Rebased on riscv-to-apply.next
- use configs/ definition to conditionalize debug support
v2 link:
https://lore.kernel.org/qemu-riscv/[email protected]/
v1 link:
https://lore.kernel.org/qemu-riscv/[email protected]/
RFC link:
https://lore.kernel.org/qemu-riscv/[email protected]/
Chao Du (3):
target/riscv/kvm: add software breakpoints support target/riscv/kvm: handle the exit with debug reason target/riscv/kvm: define TARGET_KVM_HAVE_GUEST_DEBUG
configs/targets/riscv64-softmmu.mak | 1 + target/riscv/kvm/kvm-cpu.c | 89 +++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+)
--
2.17.1