KVM: enable PCI multiple-segments for pass-through device
[linux-2.6.git] / arch / x86 / kvm / x86.c
index d47ceda..0bf3df5 100644 (file)
@@ -1569,6 +1569,7 @@ int kvm_dev_ioctl_check_extension(long ext)
        case KVM_CAP_HYPERV:
        case KVM_CAP_HYPERV_VAPIC:
        case KVM_CAP_HYPERV_SPIN:
+       case KVM_CAP_PCI_SEGMENT:
                r = 1;
                break;
        case KVM_CAP_COALESCED_MMIO: