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

From: Paolo Bonzini
Date: Thu May 30 2013 - 12:00:46 EST


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(-)

--
1.8.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/