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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux