HomeFreeBSD

bhyve: missing mutex initializations

Description

bhyve: missing mutex initializations

Explicitly initialize the mutex that a PCI virtio module passes back to
virtio.

It so happens that these mutexes were being initialized regardless, no
functional change intended.

Reviewed by: chuck, jhb
Differential Revision: https://reviews.freebsd.org/D34372

(cherry picked from commit f6f357efb1067b79678d8f348333ffdfec66ad20)

Details

Provenance
andy_omniosce.orgAuthored on Mar 16 2022, 3:50 AM
jhbCommitted on Jan 26 2023, 7:22 PM
Reviewer
chuck
Differential Revision
D34372: bhyve: missing mutex initialisations
Parents
rG62bed9d49e41: bhyve: plug memory leak in topology_parse()
Branches
Unknown
Tags
Unknown