HomeFreeBSD

vmm: Use an sx lock for vmmdev_mtx

Description

vmm: Use an sx lock for vmmdev_mtx

This will make it easier to atomically create the device file and set
its si_drv1 member.

Reviewed by: jhb
Differential Revision: https://reviews.freebsd.org/D46487

Details

Provenance
markjAuthored on Sep 1 2024, 2:00 PM
Reviewer
jhb
Differential Revision
D46487: vmm: Use an sx lock for vmmdev_mtx
Parents
rG4008758105a6: vmm: Validate credentials when opening a vmmdev
Branches
Unknown
Tags
Unknown