HomeFreeBSD

vmm: Destroy character devices synchronously.

Description

vmm: Destroy character devices synchronously.

This fixes a userland race where bhyveload or bhyve can fail to reuse
a VM name after bhyvectl --destroy has returned.

Reported by: Michael Dexter
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D35186

(cherry picked from commit 7a0c23da4eaa63f00e53aa18f3ab1f2bb32f593a)

Details

Provenance
jhbAuthored on May 20 2022, 4:53 PM
Reviewer
markj
Differential Revision
D35186: vmm: Destroy character devices synchronously.
Parents
rG2473824a16eb: Don't implicitly pull in most of 'device crypto' for 'options IPSEC'.
Branches
Unknown
Tags
Unknown