diff options
author | Zhai, Edwin <edwin.zhai@intel.com> | 2010-01-29 09:38:44 +0300 |
---|---|---|
committer | Marcelo Tosatti <mtosatti@redhat.com> | 2010-03-01 18:36:06 +0300 |
commit | ab9f4ecbb6d39a18e300a0d10a4968c37404aa76 (patch) | |
tree | 1f7fba2feaeca2f6d643437167c7b9036c909c98 /include/linux/kvm_host.h | |
parent | 6d3e435e708fa32f99b780caf6c5508a606a513b (diff) | |
download | linux-ab9f4ecbb6d39a18e300a0d10a4968c37404aa76.tar.xz |
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 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index dfde04b0d453..665c37063f30 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -400,6 +400,7 @@ struct kvm_assigned_dev_kernel { struct work_struct interrupt_work; struct list_head list; int assigned_dev_id; + int host_segnr; int host_busnr; int host_devfn; unsigned int entries_nr; |