diff options
author | Jan Beulich <jbeulich@novell.com> | 2011-08-13 10:14:58 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@novell.com> | 2011-08-13 10:14:58 +0100 |
commit | 942a6f1376d8f352b46cb7964aeeaa37fcb24fd8 (patch) | |
tree | bd3a419c42510d67199d8cef12099da585df35f8 /xen/include/xen/pci.h | |
parent | 1a9b16687d54c660c83c8d8554d7b08c3cec6895 (diff) | |
download | xen-942a6f1376d8f352b46cb7964aeeaa37fcb24fd8.tar.gz xen-942a6f1376d8f352b46cb7964aeeaa37fcb24fd8.tar.bz2 xen-942a6f1376d8f352b46cb7964aeeaa37fcb24fd8.zip |
x86/PCI-MSI: properly determine VF BAR values
As was discussed a couple of times on this list, SR-IOV virtual
functions have their BARs read as zero - the physical function's
SR-IOV capability structure must be consulted instead. The bogus
warnings people complained about are being eliminated with this
change.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/xen/pci.h')
-rw-r--r-- | xen/include/xen/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xen/include/xen/pci.h b/xen/include/xen/pci.h index 25bd415d2a..8bf3fe2291 100644 --- a/xen/include/xen/pci.h +++ b/xen/include/xen/pci.h @@ -59,6 +59,7 @@ struct pci_dev { const u8 bus; const u8 devfn; struct pci_dev_info info; + u64 vf_rlen[6]; }; #define for_each_pdev(domain, pdev) \ |