HomeFreeBSD

bhyve: Remove vmctx argument from PCI device model methods.

Description

bhyve: Remove vmctx argument from PCI device model methods.

Most of these arguments were unused. Device models which do need
access to the vmctx in one of these methods can obtain it from the
pi_vmctx member of the pci_devinst argument instead.

Reviewed by: corvink, markj
Differential Revision: https://reviews.freebsd.org/D38096

Details

Provenance
jhbAuthored on Jan 19 2023, 6:30 PM
Reviewer
corvink
Differential Revision
D38096: bhyve: Remove vmctx argument from PCI device model methods.
Parents
rGb36b14beda4f: bhyve: Avoid triggering false -Wfree-nonheap-object warnings.
Branches
Unknown
Tags
Unknown