OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: john.connett on May 02, 2017, 11:52:21 am

Title: Xen VM with PCI pass through?
Post by: john.connett on May 02, 2017, 11:52:21 am
I'm trying to test OPNsense 17.1 in a Xen x86_64 domU with dom0 openSUSE Tumbleweed / xen-4.8.0. Installation and update went smoothly and I can access the console and web interface.

My plan is to have the WAN bridged to dom0 and the LAN to use PCI pass through to an old Ralink corp. RT2500 Wireless 802.11bg (rev 01). It is in the PCI assignable list:
Code: [Select]
# lspci | fgrep Ralink
03:00.0 Network controller: Ralink corp. RT2500 Wireless 802.11bg (rev 01)
# xl pci-assignable-list
0000:03:00.0
#
However, when I use Add Hardware to add the PCI Host Device the VM then fails to start:
Code: [Select]
# cat /var/log/xen/qemu-dm-opnsense.log
char device redirected to /dev/pts/8 (label serial0)
qemi-system-i386: terminating on signal 1 from pid 2868 (/usr/sbin/libvirtd)
#
There is also a console message: XEN_DOMCTL_assign_device: assign 000:3:00.0 to dom4 failed (-12).

Has anyone managed to get PCI pass through to work?