Re: [PATCH v1 3/4] target/riscv/kvm: handle the exit with debug reason

2024-05-27 Thread Andrew Jones
On Mon, May 27, 2024 at 02:19:15AM GMT, Chao Du wrote: > If the breakpoint belongs to the userspace then set the ret value. > > Signed-off-by: Chao Du > --- > target/riscv/kvm/kvm-cpu.c | 20 > 1 file changed, 20 insertions(+) > > diff --git a/target/riscv/kvm/kvm-cpu.c

Re: [PATCH v1 3/4] target/riscv/kvm: handle the exit with debug reason

2024-05-27 Thread Daniel Henrique Barboza
On 5/26/24 23:19, Chao Du wrote: If the breakpoint belongs to the userspace then set the ret value. Signed-off-by: Chao Du --- Reviewed-by: Daniel Henrique Barboza target/riscv/kvm/kvm-cpu.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH v1 3/4] target/riscv/kvm: handle the exit with debug reason

2024-05-26 Thread Chao Du
If the breakpoint belongs to the userspace then set the ret value. Signed-off-by: Chao Du --- target/riscv/kvm/kvm-cpu.c | 20 1 file changed, 20 insertions(+) diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c index 0bc3348b91..0c45e520b2 100644 ---