diff options
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r-- | arch/x86/kvm/x86.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 145b1c81011b..8747fef7fd59 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -2501,7 +2501,6 @@ int kvm_dev_ioctl_check_extension(long ext) | |||
2501 | case KVM_CAP_USER_NMI: | 2501 | case KVM_CAP_USER_NMI: |
2502 | case KVM_CAP_REINJECT_CONTROL: | 2502 | case KVM_CAP_REINJECT_CONTROL: |
2503 | case KVM_CAP_IRQ_INJECT_STATUS: | 2503 | case KVM_CAP_IRQ_INJECT_STATUS: |
2504 | case KVM_CAP_ASSIGN_DEV_IRQ: | ||
2505 | case KVM_CAP_IRQFD: | 2504 | case KVM_CAP_IRQFD: |
2506 | case KVM_CAP_IOEVENTFD: | 2505 | case KVM_CAP_IOEVENTFD: |
2507 | case KVM_CAP_PIT2: | 2506 | case KVM_CAP_PIT2: |
@@ -2519,9 +2518,12 @@ int kvm_dev_ioctl_check_extension(long ext) | |||
2519 | case KVM_CAP_XSAVE: | 2518 | case KVM_CAP_XSAVE: |
2520 | case KVM_CAP_ASYNC_PF: | 2519 | case KVM_CAP_ASYNC_PF: |
2521 | case KVM_CAP_GET_TSC_KHZ: | 2520 | case KVM_CAP_GET_TSC_KHZ: |
2522 | case KVM_CAP_PCI_2_3: | ||
2523 | case KVM_CAP_KVMCLOCK_CTRL: | 2521 | case KVM_CAP_KVMCLOCK_CTRL: |
2524 | case KVM_CAP_READONLY_MEM: | 2522 | case KVM_CAP_READONLY_MEM: |
2523 | #ifdef CONFIG_KVM_DEVICE_ASSIGNMENT | ||
2524 | case KVM_CAP_ASSIGN_DEV_IRQ: | ||
2525 | case KVM_CAP_PCI_2_3: | ||
2526 | #endif | ||
2525 | r = 1; | 2527 | r = 1; |
2526 | break; | 2528 | break; |
2527 | case KVM_CAP_COALESCED_MMIO: | 2529 | case KVM_CAP_COALESCED_MMIO: |