vmd(8): deassert interrupt pins in the PIC at the right times. Helps fix
authormlarkin <mlarkin@openbsd.org>
Mon, 9 Jul 2018 16:11:37 +0000 (16:11 +0000)
committermlarkin <mlarkin@openbsd.org>
Mon, 9 Jul 2018 16:11:37 +0000 (16:11 +0000)
commit7b36e131d56f6465b99f23042c66e678db30d8b1
treee7ff4a2528babca983130e02fd089e961155af3d
parent33b2bf4bdd176ef50a629f30b3138fd663646ebc
vmd(8): deassert interrupt pins in the PIC at the right times. Helps fix
situations where vmd gets stuck at 100% cpu usage because the guest VM
is constantly trying to ack interrupts that already occurred.

tested by phessler on a VM that used to exhibit the issue.

ok phessler
usr.sbin/vmd/i8253.c
usr.sbin/vmd/mc146818.c
usr.sbin/vmd/ns8250.c
usr.sbin/vmd/virtio.c