projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61cfab2
)
KVM: return true when user space query KVM_CAP_USER_NMI extension
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Tue, 14 Dec 2010 09:57:47 +0000
(17:57 +0800)
committer
Avi Kivity
<avi@redhat.com>
Wed, 12 Jan 2011 09:30:54 +0000
(11:30 +0200)
userspace may check this extension in runtime.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/x86.c
b/arch/x86/kvm/x86.c
index 386cab9b5c68b8a0243a583d48d3baada6cde4aa..cbaea7dd5963520923da47f53bcc97e1086d70a2 100644
(file)
--- a/
arch/x86/kvm/x86.c
+++ b/
arch/x86/kvm/x86.c
@@
-1941,6
+1941,7
@@
int kvm_dev_ioctl_check_extension(long ext)
case KVM_CAP_NOP_IO_DELAY:
case KVM_CAP_MP_STATE:
case KVM_CAP_SYNC_MMU:
+ case KVM_CAP_USER_NMI:
case KVM_CAP_REINJECT_CONTROL:
case KVM_CAP_IRQ_INJECT_STATUS:
case KVM_CAP_ASSIGN_DEV_IRQ: