]> git.baikalelectronics.ru Git - kernel.git/commit
xen PV passthru: assign SR-IOV virtual functions to separate virtual slots
authorLaszlo Ersek <lersek@redhat.com>
Wed, 17 Oct 2012 09:55:55 +0000 (11:55 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 19 Oct 2012 19:17:47 +0000 (15:17 -0400)
commit8b80185b139575fbb7ed83f478c11de161c3a698
treea995ee103e16708cc393fcf11f6bdef07de9adb7
parent99d56e655a3ab06f80c6bde849fda1f3880a1dbc
xen PV passthru: assign SR-IOV virtual functions to separate virtual slots

VFs are reported as single-function devices in PCI_HEADER_TYPE, which
causes pci_scan_slot() in the PV domU to skip all VFs beyond #0 in the
pciback-provided slot. Avoid this by assigning each VF to a separate
virtual slot.

Acked-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/xen-pciback/vpci.c