Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1375662
| From | Thomas Huth <thuth@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] kvm-pr: manage single-step mode |
| Date | 2016-04-11 11:50 +0200 |
| Message-ID | <rmGDM-3Br-7@gated-at.bofh.it> (permalink) |
| References | <rlH8S-6t5-31@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 08.04.2016 18:05, Laurent Vivier wrote: > Until now, when we connect gdb to the QEMU gdb-server, the > single-step mode is not managed. > > This patch adds this, only for kvm-pr: > > If KVM_GUESTDBG_SINGLESTEP is set, we enable single-step trace bit in the > MSR (MSR_SE) just before the __kvmppc_vcpu_run(), and disable it just after. > In kvmppc_handle_exit_pr, instead of routing the interrupt to > the guest, we return to host, with KVM_EXIT_DEBUG reason. > > Signed-off-by: Laurent Vivier <lvivier@redhat.com> > --- > v2: split BOOK3S_INTERRUPT_MACHINE_CHECK and BOOK3S_INTERRUPT_TRACE > > arch/powerpc/kvm/book3s_pr.c | 32 +++++++++++++++++++++++++++++++- > 1 file changed, 31 insertions(+), 1 deletion(-) Reviewed-by: Thomas Huth <thuth@redhat.com>
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH v2] kvm-pr: manage single-step mode Laurent Vivier <lvivier@redhat.com> - 2016-04-08 18:10 +0200 Re: [PATCH v2] kvm-pr: manage single-step mode David Gibson <dgibson@redhat.com> - 2016-04-11 06:10 +0200 Re: [PATCH v2] kvm-pr: manage single-step mode Thomas Huth <thuth@redhat.com> - 2016-04-11 11:50 +0200
csiph-web