[vfio-users] VFIO device assignment fails for LSI SAS2008 on Xeon E3-1200 v3

Damon Namod msg at damon.at
Wed May 11 03:18:45 UTC 2016


The output of `lspci -vvvs  01:00.0` is attached. Interestingly, the command generates an error somewhere in the middle of the output:

    pcilib: sysfs_read_vpd: read failed: Input/output error
    
The corresponding `dmesg` output is:

    [ 2587.922711] vfio-pci 0000:01:00.0: invalid short VPD tag 00 at offset 1
    
I blacklisted the `mpt3sas` driver and assign the device directly to VFIO:

    $ cat /etc/modprobe.d/vfio.conf
    blacklist mpt3sas
    options vfio-pci ids=1000:0072
    
Best,
Damon

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ibm-serveraid-m1015_lspci-vvvs.txt
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160511/9165365c/attachment.txt>
-------------- next part --------------



> On 10 May 2016, at 20:01, Alex Williamson <alex.l.williamson at gmail.com> wrote:
> 
> On Mon, May 9, 2016 at 4:46 PM, Damon Namod <msg at damon.at> wrote:
> Hi all,
> 
> I just tried Linux 4.6.0-rc7 with qemu 2.6.0-rc4. Same error and behaviour. What the heck is this?
> 
> Another question/request, are you blacklisting the driver for this device (mpt3sas) or using pci-stub or other means to prevent it from claiming the device on the host or are you dynamically unbinding from mpt3sas?  If the latter, could you try to one of the former mechanism to make the HBA untouched by the host prior to assigning?



More information about the vfio-users mailing list