summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/kvm.h
diff options
context:
space:
mode:
authorAvi Kivity2009-01-19 13:57:52 +0100
committerAvi Kivity2009-03-24 10:03:06 +0100
commit91b2ae773d3b168b763237fac33f75b13d891f20 (patch)
tree739ec0a4debd058277493707c8ebf6226dbe41a3 /arch/x86/include/asm/kvm.h
parentKVM: Userspace controlled irq routing (diff)
downloadkernel-qcow2-linux-91b2ae773d3b168b763237fac33f75b13d891f20.tar.gz
kernel-qcow2-linux-91b2ae773d3b168b763237fac33f75b13d891f20.tar.xz
kernel-qcow2-linux-91b2ae773d3b168b763237fac33f75b13d891f20.zip
KVM: Avoid using CONFIG_ in userspace visible headers
Kconfig symbols are not available in userspace, and are not stripped by headers-install. Avoid their use by adding #defines in <asm/kvm.h> to suit each architecture. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm.h')
-rw-r--r--arch/x86/include/asm/kvm.h1
1 files changed, 1 insertions, 0 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 @@
#define __KVM_HAVE_DEVICE_ASSIGNMENT
#define __KVM_HAVE_MSI
#define __KVM_HAVE_USER_NMI
+#define __KVM_HAVE_GUEST_DEBUG
/* Architectural interrupt line count. */
#define KVM_NR_INTERRUPTS 256