[vfio-users] VFIO device assignment fails for LSI SAS2008 on Xeon E3-1200 v3
Okky Hendriansyah
okky.htf at gmail.com
Mon May 9 00:14:44 UTC 2016
On Sun, May 8, 2016 at 5:51 AM, Damon Namod <msg at damon.at> wrote:
> Hi all,
>
> I'm trying to pass a LSI SAS2008 controller to a guest using VFIO. First
> of all, some details on my system:
>
> # lsb_release -d
> Description: Ubuntu 14.04.4 LTS
>
> # uname -rs
> Linux 4.4.0-22-generic
>
> # cat /proc/cpuinfo | grep -m 1 "model name"
> model name : Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
>
> # qemu-system-x86_64 --version
> QEMU emulator version 2.0.0 (Debian 2.0.0+dfsg-2ubuntu1.22), Copyright
> (c) 2003-2008 Fabrice Bellard
>
> # libvirtd --version
> libvirtd (libvirt) 1.2.2
>
> I'm using libvirt/virsh to pass the device to a (freenas) guest and at
> first it looks like the domain would start just fine because virsh reports
> "Domain freeness started". The domain, however, crashes right after start
> with the following message from `/var/log/libvirt/qemu/freenas.log`. The
> full log is attached:
>
> ...
>
> Previously, I used to pass the controller using KVM pci assignment but due
> to it's deprecation in Linux 4.2 I wanted to switch to VFIO. Generally, it
> seems to work on my system but not for the device in question.
>
> I'd appreciate any help.
>
> Best,
> Damon
>
Hi Damon,
Can you passthrough the card to Linux guests? If I recall correctly, I
never had success passing through my IBM ServeRAID M1015 card to
FreeBSD-based guest (PC-BSD at the time). The guest just crash immediately.
I think the issue lies on the FreeBSD, since I could pass it to Debian
guest successfully (but I need to pass the ROM file to the command line
since the card's BIOS was initialized early at host boot). Reflashing the
card to pure IT-mode without BIOS should make it unnecessary to pass the
ROM file, though I never tried it since at the end I put the ZFS on the
host hypervisor.
Best regards,
Okky Hendriansyah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20160509/010960c2/attachment.htm>
More information about the vfio-users
mailing list