[Bug 251046] bhyve PCI passthrough does not work inside jail
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Nov 11 11:58:02 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251046
Bug ID: 251046
Summary: bhyve PCI passthrough does not work inside jail
Product: Base System
Version: 12.2-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: cneirabustos at gmail.com
Created attachment 219550
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219550&action=edit
Patch to make bhyve pci passthru work inside a jail
on FreeBSD 12.2-RELEASE is possible to run bhyve inside a jail, but testing
passthru revealed that this not work inside a jail.
The problem is that the jail needs r/w access to the following devices:
* /dev/mem
* /dev/io
* /dev/pci
/dev/pci is not a problem with a securelevel < 0. But the rest needs a patch.
I have attached a rough patch to make bhyve pci passthrough work inside a
jail,I also have attached jail.conf and devfs.rules used for testing.
This was tested in jail using vnet.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list