diff options
| author | 2016-01-04 01:35:56 +0000 | |
|---|---|---|
| committer | 2016-01-04 01:35:56 +0000 | |
| commit | e0c038ed566c17d60c5d9a4023763e29166c668c (patch) | |
| tree | 69af467d346180f490cf2190918f53548fdb149d /usr.sbin/vmd/pci.c | |
| parent | wrap a long line (diff) | |
| download | wireguard-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
