diff options
| author | Keir Fraser <keir.fraser@citrix.com> | 2008-07-14 10:11:39 +0100 |
|---|---|---|
| committer | Keir Fraser <keir.fraser@citrix.com> | 2008-07-14 10:11:39 +0100 |
| commit | 22527b8dcd89c18519a5515ce3d00e88460318ba (patch) | |
| tree | 46d66eecf5406005640477789282625cf640d35c /tools/flask/libflask | |
| parent | 910ece429105ed1f5c54ca476cd3149abe1607f5 (diff) | |
| download | xen-22527b8dcd89c18519a5515ce3d00e88460318ba.tar.gz xen-22527b8dcd89c18519a5515ce3d00e88460318ba.tar.bz2 xen-22527b8dcd89c18519a5515ce3d00e88460318ba.zip | |
xend: vt-d: improved FLR logic for pass-thru PCI devices
1) If the device is PCIe endpoint and supports PCIe FLR, we use that;
else
2) if the device is PCIe endpoint, and all functions on the
device are assigned to the same guest, we use the immediate parent
bus's Secondary Bus Reset to reset all functions of the device (here,
actually we require all the functions of the device be assigned to the
same guest); else
3) if the device is PCI endpoint and is on a host bus
(e.g. integrated devices), and if the device supports PCI Advanced
Capabilities, we use that for FLR; else
4) we use the Secondary Bus Reset (if the PCI device is behind a
PCI/PCI-X bridge, then all devices behind the uppermost such PCI/PCI-X
bridge above this device must be co-assigned).
Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'tools/flask/libflask')
0 files changed, 0 insertions, 0 deletions
