forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
61cfab2e83
commit
a355c85c5f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user