summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vmd/pci.c
diff options
context:
space:
mode:
authormlarkin <mlarkin@openbsd.org>2016-01-04 01:35:56 +0000
committermlarkin <mlarkin@openbsd.org>2016-01-04 01:35:56 +0000
commite0c038ed566c17d60c5d9a4023763e29166c668c (patch)
tree69af467d346180f490cf2190918f53548fdb149d /usr.sbin/vmd/pci.c
parentwrap a long line (diff)
downloadwireguard-openbsd-e0c038ed566c17d60c5d9a4023763e29166c668c.tar.xz
wireguard-openbsd-e0c038ed566c17d60c5d9a4023763e29166c668c.zip
Do proper termination of VMs by doing proper VCPU run state management.
This should fix some of the odd termination errors people have been seeing (vmctl status showing running VMs after they have exited/crashed, and invalid instruction panics on vmptrld during certain races) This diff also implements dropping the biglock when running a VCPU, and reacquiring the lock as needed based on the type of exit (normal vs. external interrupt) diff supplied by Stefan Kempf <sn.kempf at t-online.de>, many thanks!
Diffstat (limited to 'usr.sbin/vmd/pci.c')
0 files changed, 0 insertions, 0 deletions