diff mbox

[1/2] KVM: x86: Add DR flag definition for IO watchpoints

Message ID 1443085690-9824-2-git-send-email-namit@cs.technion.ac.il (mailing list archive)
State New, archived
Headers show

Commit Message

Nadav Amit Sept. 24, 2015, 9:08 a.m. UTC
From: Rami Burstein <ramibnet@gmail.com>

Add DR_RW_PROT for I/O watchponts.

Signed-off-by: Andrey Isakov <andreyisakov7@gmail.com>
Signed-off-by: Rami Burstein <ramibnet@gmail.com>
Signed-off-by: Nadav Amit <nadav.amit@gmail.com>
---
 arch/x86/include/uapi/asm/debugreg.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/arch/x86/include/uapi/asm/debugreg.h b/arch/x86/include/uapi/asm/debugreg.h
index 3c0874d..d815cd4 100644
--- a/arch/x86/include/uapi/asm/debugreg.h
+++ b/arch/x86/include/uapi/asm/debugreg.h
@@ -37,6 +37,7 @@ 
 
 #define DR_RW_EXECUTE (0x0)   /* Settings for the access types to trap on */
 #define DR_RW_WRITE (0x1)
+#define DR_RW_PORT (0x2)
 #define DR_RW_READ (0x3)
 
 #define DR_LEN_1 (0x0) /* Settings for data length to trap on */