aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorLai Jiangshan <laijs@cn.fujitsu.com>2010-12-14 04:57:47 -0500
committerAvi Kivity <avi@redhat.com>2011-01-12 04:30:54 -0500
commita355c85c5f137d93c4e9274c50e26c20f1ebc1c9 (patch)
treed6b3ad0b20436638f21f0f7d4cd13e9b903ad96b /arch/x86/kvm/x86.c
parent61cfab2e83263ea294a034b12079476a917299f4 (diff)
KVM: return true when user space query KVM_CAP_USER_NMI extension
userspace may check this extension in runtime. Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 386cab9b5c68..cbaea7dd5963 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1941,6 +1941,7 @@ int kvm_dev_ioctl_check_extension(long ext)
1941 case KVM_CAP_NOP_IO_DELAY: 1941 case KVM_CAP_NOP_IO_DELAY:
1942 case KVM_CAP_MP_STATE: 1942 case KVM_CAP_MP_STATE:
1943 case KVM_CAP_SYNC_MMU: 1943 case KVM_CAP_SYNC_MMU:
1944 case KVM_CAP_USER_NMI:
1944 case KVM_CAP_REINJECT_CONTROL: 1945 case KVM_CAP_REINJECT_CONTROL:
1945 case KVM_CAP_IRQ_INJECT_STATUS: 1946 case KVM_CAP_IRQ_INJECT_STATUS:
1946 case KVM_CAP_ASSIGN_DEV_IRQ: 1947 case KVM_CAP_ASSIGN_DEV_IRQ: