kvm,x86: return true when user space query KVM_CAP_USER_NMI extension
PATCH 1/1 kvm,x86: return true when user space query KVM_CAP_USER_NMI extension
userspace may check this extension in runtime.
Signed-off-by Lai Jiangshan <[email protected]>
---
arch/x86/kvm/x86.c +1 -0
@@ -1909,6 +1909,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 :
Avi Kivity
AppliedQuoted 2 lines · Lai Jiangshan
userspace may check this extension in runtime.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function