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

Details

Provenance
jhbAuthored on Jun 12 2021, 12:58 AM
Reviewer
grehan
Differential Revision
D30502: bhyve: Register new kevents synchronously.
Parents
rGe1a907a25cfa: krpc: Acquire ref count of CLIENT for backchannel use
Branches
Unknown
Tags
Unknown