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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to