HomeFreeBSD

bhyve: set EV_CLEAR for EVFILT_VNODE mevents

Description

bhyve: set EV_CLEAR for EVFILT_VNODE mevents

When an EVFILT_VNODE filter event is triggered, reset it.

This fixes the issue where a virtio-blk resize event would cause the
mevent thread to consume 100% of the cpu.

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

(cherry picked from commit 0b29683b32df0233a85f597836e61cc6432a3e4f)

Details

Provenance
rewAuthored on Dec 12 2021, 9:39 PM
Reviewer
jhb
Differential Revision
D33326: bhyve: reset event after blockif resize
Parents
rG0d27ad33a44c: kldxref: add R_PPC_ADDR32 handler
Branches
Unknown
Tags
Unknown