[vfio-users] UEFI + PCI USB Device

Okky Hendriansyah okky at nostratech.com
Mon Nov 2 00:17:56 UTC 2015


Hi Brett,

I have the same Renesas card as you and I just passthrough the card without any magic on it. Not even blacklisting the USB, since I don’t want to accidentally blacklist my host mouse and keyboard. Just with a plain -device vfio-pci QEMU switch like this:

-device vfio-pci,host=03:00.0

Here’s my modprobe for vfio-pci
#
# /etc/modprobe.d/vfio-pci.conf
#
# 01:00.0 10de:13c0 VGA compatible controller: NVIDIA Corporation GM204 [GeForce GTX 980] (rev a1)
# 01:00.1 10de:0fbb Audio device: NVIDIA Corporation GM204 High Definition Audio Controller (rev a1)
# 02:00.0 1000:0072 Serial Attached SCSI controller: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] (rev 03)
# 03:00.0 1912:0014 USB controller: Renesas Technology Corp. uPD720201 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI])
# 0a:01.0 1033:0035 USB controller: NEC Corporation OHCI USB Controller (rev 43) (prog-if 10 [OHCI])
# 0a:01.1 1033:0035 USB controller: NEC Corporation OHCI USB Controller (rev 43) (prog-if 10 [OHCI])
# 0a:01.2 1033:00e0 USB controller: NEC Corporation uPD72010x USB 2.0 Controller (rev 04) (prog-if 20 [EHCI])
#
options vfio-pci ids=10de:13c0,10de:0fbb,1912:0014

The full listing of lspci -vv is
http://pastebin.com/dKRigMVc

I use the card mainly to passthrough my Logitech F510 gamepad, my USB switch, and in case I need to plug my external drive directly to my Windows 10 VM.

Here’s my full QEMU script:
http://pastebin.com/3QyD0tNh


-- 
Okky Hendriansyah

On November 2, 2015 at 02:18:52, Brett Foster (fosterb at edgeandvertex.org) wrote:

uPD720201 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/vfio-users/attachments/20151102/8df10edd/attachment.htm>


More information about the vfio-users mailing list