diff options
author | Zhai, Edwin <edwin.zhai@intel.com> | 2010-01-29 01:38:44 -0500 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 10:36:06 -0500 |
commit | ab9f4ecbb6d39a18e300a0d10a4968c37404aa76 (patch) | |
tree | 1f7fba2feaeca2f6d643437167c7b9036c909c98 /arch | |
parent | 6d3e435e708fa32f99b780caf6c5508a606a513b (diff) |
KVM: enable PCI multiple-segments for pass-through device
Enable optional parameter (default 0) - PCI segment (or domain) besides
BDF, when assigning PCI device to guest.
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Acked-by: Chris Wright <chrisw@sous-sol.org>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kvm/x86.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index d47ceda7a928..0bf3df527afc 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c | |||
@@ -1569,6 +1569,7 @@ int kvm_dev_ioctl_check_extension(long ext) | |||
1569 | case KVM_CAP_HYPERV: | 1569 | case KVM_CAP_HYPERV: |
1570 | case KVM_CAP_HYPERV_VAPIC: | 1570 | case KVM_CAP_HYPERV_VAPIC: |
1571 | case KVM_CAP_HYPERV_SPIN: | 1571 | case KVM_CAP_HYPERV_SPIN: |
1572 | case KVM_CAP_PCI_SEGMENT: | ||
1572 | r = 1; | 1573 | r = 1; |
1573 | break; | 1574 | break; |
1574 | case KVM_CAP_COALESCED_MMIO: | 1575 | case KVM_CAP_COALESCED_MMIO: |