[Bug 251046] bhyve PCI passthrough does not work inside jail

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 13:44:42 UTC

--- Comment #10 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Bjoern A. Zeeb from comment #9)
> The /dev/mem ones could probably be PCIOCBARMMAP if that could be/is locked down enough?

Yes, it seems possible.

> But I assume all the checks needed are in place (now) somewhere for the IO ioctl?

I'm not sure if I understand the question.  The new ioctl limits accesses to
the specified BAR and verifies that the accesses is within bounds.  The /dev/io
interface permits access to any system I/O port.

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