diff options
author | Dave Voutila <dv@cvs.openbsd.org> | 2023-01-30 21:43:13 +0000 |
---|---|---|
committer | Dave Voutila <dv@cvs.openbsd.org> | 2023-01-30 21:43:13 +0000 |
commit | 5e49cce84bbae151f792ee7b3e02ed888dac2ee2 (patch) | |
tree | da7ac67d98f6da8f65024d07a97af7feae32b182 /libexec/rpc.rusersd/Makefile | |
parent | 04da052954425aebad15c530d9ca81bb70e5685c (diff) |
vmd(8): fix an interrupt storm in ns8250.
On slower hosts, such as those in a nested virtualization scenario
of OpenBSD guest inside OpenBSD atop Linux KVM, ns8250 can cause a
race between the kevent firing and the vcpu being kicked by an
assert/deassert of the irq.
The end user experiences a "stuck" serial console and the host will
see a vmd process peg the cpu.
This change only toggles the irq if we were in a position of being
ready to receive data on the device so while the kevent might
continuously fire, the vcpu will not be kicked repeatedly.
OK mlarkin@
Diffstat (limited to 'libexec/rpc.rusersd/Makefile')
0 files changed, 0 insertions, 0 deletions