aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/x86/include/asm/kvm.h1
-rw-r--r--include/linux/kvm.h6
2 files changed, 4 insertions, 3 deletions
diff --git a/arch/x86/include/asm/kvm.h b/arch/x86/include/asm/kvm.h
index 54bcf2281526..dc3f6cf11704 100644
--- a/arch/x86/include/asm/kvm.h
+++ b/arch/x86/include/asm/kvm.h
@@ -15,6 +15,7 @@
15#define __KVM_HAVE_DEVICE_ASSIGNMENT 15#define __KVM_HAVE_DEVICE_ASSIGNMENT
16#define __KVM_HAVE_MSI 16#define __KVM_HAVE_MSI
17#define __KVM_HAVE_USER_NMI 17#define __KVM_HAVE_USER_NMI
18#define __KVM_HAVE_GUEST_DEBUG
18 19
19/* Architectural interrupt line count. */ 20/* Architectural interrupt line count. */
20#define KVM_NR_INTERRUPTS 256 21#define KVM_NR_INTERRUPTS 256
diff --git a/include/linux/kvm.h b/include/linux/kvm.h
index 7a5d73a8d4fa..869462ca7625 100644
--- a/include/linux/kvm.h
+++ b/include/linux/kvm.h
@@ -393,13 +393,13 @@ struct kvm_trace_rec {
393#ifdef __KVM_HAVE_USER_NMI 393#ifdef __KVM_HAVE_USER_NMI
394#define KVM_CAP_USER_NMI 22 394#define KVM_CAP_USER_NMI 22
395#endif 395#endif
396#if defined(CONFIG_X86) 396#ifdef __KVM_HAVE_GUEST_DEBUG
397#define KVM_CAP_SET_GUEST_DEBUG 23 397#define KVM_CAP_SET_GUEST_DEBUG 23
398#endif 398#endif
399#if defined(CONFIG_X86) 399#ifdef __KVM_HAVE_PIT
400#define KVM_CAP_REINJECT_CONTROL 24 400#define KVM_CAP_REINJECT_CONTROL 24
401#endif 401#endif
402#if defined(CONFIG_X86)||defined(CONFIG_IA64) 402#ifdef __KVM_HAVE_IOAPIC
403#define KVM_CAP_IRQ_ROUTING 25 403#define KVM_CAP_IRQ_ROUTING 25
404#endif 404#endif
405 405