public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: x86: minimal debugging support during emulation
@ 2013-07-30 15:11 Paolo Bonzini
  2013-07-30 15:11 ` [PATCH 1/3] KVM: x86: rename EMULATE_DO_MMIO Paolo Bonzini
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Paolo Bonzini @ 2013-07-30 15:11 UTC (permalink / raw)
  To: linux-kernel; +Cc: gnatapov, kvm

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

v1->v2: rename EMULATE_DO_MMIO to EMULATE_USER_EXIT;
    return EMULATE_* value via pointer-to-int argument.

Paolo Bonzini (3):
  KVM: x86: rename EMULATE_DO_MMIO
  KVM: x86: handle hardware breakpoints during emulation
  KVM: x86: handle singlestep during emulation

 arch/x86/include/asm/kvm_host.h |   4 +-
 arch/x86/kvm/mmu.c              |   2 +-
 arch/x86/kvm/vmx.c              |   2 +-
 arch/x86/kvm/x86.c              | 109 ++++++++++++++++++++++++++++++++++++++--
 4 files changed, 110 insertions(+), 7 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-07-31 10:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-30 15:11 [PATCH 0/2] KVM: x86: minimal debugging support during emulation Paolo Bonzini
2013-07-30 15:11 ` [PATCH 1/3] KVM: x86: rename EMULATE_DO_MMIO Paolo Bonzini
2013-07-31  9:40   ` Gleb Natapov
2013-07-30 15:11 ` [PATCH 2/3] KVM: x86: handle hardware breakpoints during emulation Paolo Bonzini
2013-07-31 10:00   ` Gleb Natapov
2013-07-30 15:11 ` [PATCH 3/3] KVM: x86: handle singlestep " Paolo Bonzini
2013-07-31  9:46   ` Gleb Natapov
2013-07-31 10:30     ` Paolo Bonzini
2013-07-31 10:40       ` Gleb Natapov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox