diff options
author | Laurent Vivier <[email protected]> | 2016-04-08 18:05:00 +0200 |
---|---|---|
committer | Paul Mackerras <[email protected]> | 2016-05-11 21:19:10 +1000 |
commit | 11dd6ac0254ed9a2b6994e22c903192edd0fa8fc (patch) | |
tree | b2c1a13f033dc9b1dc54c510633c7333e7df8cfc /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 05b1159e641fa45e885aec8bf8e515117c8977d9 (diff) |
KVM: PPC: Book3S PR: Manage single-step mode
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 <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions