mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 17:54:13 +08:00
kvm: x86: move KVM_CAP_HYPERV_TIME outside #ifdef
Self explanatory. Reported-by: Radim Krcmar <rkrcmar@redhat.com> Cc: Vadim Rozenfeld <vrozenfe@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
58cb628dbe
commit
5f66b62095
@ -2616,10 +2616,10 @@ int kvm_dev_ioctl_check_extension(long ext)
|
||||
case KVM_CAP_GET_TSC_KHZ:
|
||||
case KVM_CAP_KVMCLOCK_CTRL:
|
||||
case KVM_CAP_READONLY_MEM:
|
||||
case KVM_CAP_HYPERV_TIME:
|
||||
#ifdef CONFIG_KVM_DEVICE_ASSIGNMENT
|
||||
case KVM_CAP_ASSIGN_DEV_IRQ:
|
||||
case KVM_CAP_PCI_2_3:
|
||||
case KVM_CAP_HYPERV_TIME:
|
||||
#endif
|
||||
r = 1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user