Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Feb 2026 18:09:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        virtualization@FreeBSD.org
Subject:   [Bug 292750] Jailed bhyve passthru fails with: "bhyve: PCI device at 9/0/0 is not using the ppt(4) driver"
Message-ID:  <bug-292750-27103-t76s54DRYR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-292750-27103@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #3 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to leper from comment #2)
> Also see bug 251046 in which you enabled PCI passthru in jails once already.

Well, that was really just a side effect of my change; my real motivation was
to make bhyve avoid opening /dev/kmem and /dev/io.

I think what I'll do for this case is add a new jail flag, allow.vmm.ppt, to
allow admins to explicitly opt-in.  ppt requires, among other things, the
ability to reset devices, and PRIV_DRIVER checks are used to prevent this from
userspace, even if /dev/devctl2 is passed into the jail.  In particular it
should be possible to run VMs in a jail without giving access to these ppt
ioctls.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292750-27103-t76s54DRYR>