From: Nadav Amit Subject: [PATCH 0/2] KVM: x86: Emulated I/O and data breakpoints support Date: Thu, 24 Sep 2015 12:08:08 +0300 Message-ID: <1443085690-9824-1-git-send-email-namit@cs.technion.ac.il> Cc: x86@kernel.org, kvm@vger.kernel.org, andreyisakov7@gmail.com, ramibnet@gmail.com, Nadav Amit To: pbonzini@redhat.com, tglx@linutronix.de Return-path: Received: from mail-wi0-f171.google.com ([209.85.212.171]:32939 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750921AbbIXJIS (ORCPT ); Thu, 24 Sep 2015 05:08:18 -0400 Received: by wiclk2 with SMTP id lk2so18837540wic.0 for ; Thu, 24 Sep 2015 02:08:16 -0700 (PDT) Sender: kvm-owner@vger.kernel.org List-ID: 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