Skip to content

KVM: x86: minimal debugging support during emulation

Paolo Bonzini kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2KVM: x86: handle hardware breakpoints during emulationarch/x86/include/asm/kvm_host.h arch/x86/kvm/x86.c+68 -26 replies
2/2KVM: x86: handle singlestep during emulationarch/x86/kvm/x86.c+40 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] KVM: x86: minimal debugging support during emulation

The switch to emulate_invalid_guest_state brought one slightly unwelcome change; the debugging interface does not work in the initial boot phase because KVM_SET_GUEST_DEBUG is basically ignored.

These two patches bring some initial support for debugging, namely for hardware breakpoints and single-stepping. Software breakpoints and hardware watchpoints are still ignored.

Paolo

Paolo Bonzini (2):
KVM: x86: handle hardware breakpoints during emulation
KVM: x86: handle singlestep during emulation

 arch/x86/include/asm/kvm_emulate.h |   1 +
 arch/x86/include/asm/kvm_host.h    |   3 +-
 arch/x86/kvm/emulate.c             |   1 +
 arch/x86/kvm/x86.c                 | 106 ++++++++++++++++++++++++++++++++++++-
 4 files changed, 109 insertions(+), 2 deletions(-)
Signature · 1 line
1.8.1.4