CVSROOT: /cvs Module name: src Changes by: mlar...@cvs.openbsd.org 2016/01/03 18:35:56
Modified files: sys/arch/amd64/amd64: vmm.c sys/arch/amd64/include: vmmvar.h Log message: 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!