[Bug 205549] bhyve pci passthru stops working after guest is restarted

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Jul 2024 14:51:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205549

--- Comment #22 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=f44ff2aba2d64d1d9312cb55008dc90275ccdc04

commit f44ff2aba2d64d1d9312cb55008dc90275ccdc04
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2024-07-31 14:50:33 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-07-31 14:50:33 +0000

    bhyve: Treat the COMMAND register for PCI passthru devices as emulated

    Don't pass through writes of the command register through to the
    physical device.  These registers do not need to be in sync, and in
    some cases (e.g. when the guest is sizing the BAR and temporarily
    disables decoding), the states need to diverge.

    PR:             205549
    Reviewed by:    corvink
    Sponsored by:   Chelsio Communications
    Differential Revision:  https://reviews.freebsd.org/D46179

 usr.sbin/bhyve/pci_passthru.c | 46 +++++++++++++++++++------------------------
 1 file changed, 20 insertions(+), 26 deletions(-)

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