This patch-set adds data and I/O breakpoints support on emulated instructions to KVM. The first patch just adds a missing definition and all the logic is in the second one. These patches were implemented as part of a university project, and then cleaned and rebased on the latest KVM by me. I have some concerns about their impact on performance, so it is possible to add a fast-patch for the case all breakpoints are disabled. In addition, these patches do not handle watchpoints that are set by the host debugger. Nadav Amit (1): KVM: x86: Guest watchpoints during emulation. Rami Burstein (1): KVM: x86: Add DR flag definition for IO watchpoints arch/x86/include/asm/kvm_emulate.h | 3 ++ arch/x86/include/uapi/asm/debugreg.h | 1 + arch/x86/kvm/emulate.c | 32 ++++++++++++++++ arch/x86/kvm/x86.c | 74 +++++++++++++++++++++++++++--------- 4 files changed, 93 insertions(+), 17 deletions(-) -- 2.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