[Bug 260148] passthru stopped working

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 30 Nov 2021 23:07:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260148

Bjoern A. Zeeb <bz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bz@FreeBSD.org
             Status|New                         |Open

--- Comment #1 from Bjoern A. Zeeb <bz@FreeBSD.org> ---
I assume this has to do with

    876         if (!pci_bar_enabled(pcidev, pm))
    877                 return (EBUSY); /* XXXKIB enable if _ACTIVATE */

in sys/dev/pci/pci_user.c:pci_bar_mmap()

So mmap fails and we won't start again.

I am just not sure if that XXXKIB is the right fix or if bhyve should make sure
the device is usable?

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