HomeFreeBSD

bhyve: Register new kevents synchronously.

Description

bhyve: Register new kevents synchronously.

Change mevent_add*() to synchronously add the new kevent. This
permits reporting event registration failures to the caller and avoids
failing the registration of other, unrelated events queued up in the
same batch.

Reviewed by: grehan, markj
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D30502

(cherry picked from commit e8424e2947dd8a0e1d3f08295432941b5c5aafb9)

Details

Provenance
jhbAuthored on Jun 12 2021, 12:58 AM
Reviewer
grehan
Differential Revision
D30502: bhyve: Register new kevents synchronously.
Parents
rGf53932dfc411: link_elf_obj: Invoke fini callbacks
Branches
Unknown
Tags
Unknown