[Bug 213689] Allow bhyve to run from non-root user

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 19 17:19:05 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213689

shamaz.mazum at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |shamaz.mazum at gmail.com

--- Comment #5 from shamaz.mazum at gmail.com ---
Hello again!

I am currently using /dev/vmmctl device to allow non-root users to use bhyve as
I described above. Unfortunately, this approach does not allow me to use PCI
devices pass-through, as it demands access to /dev/pci, /dev/io and /dev/mem
(as far as I remember).

After updating to 12.0-RC1 I have noticed, that ntpd uses MAC framework now (I
didn't know about MAC existence before).

Can this approach (writing specific MAC policy module) be used to grant
unprivileged bhyve process access to certain files in /dev ?

What other solutions to this problem could be?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-virtualization mailing list