]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix non-deterministic delays when accessing a vcpu that was in "running" or
authorneel <neel@FreeBSD.org>
Thu, 28 May 2015 17:37:01 +0000 (17:37 +0000)
committerneel <neel@FreeBSD.org>
Thu, 28 May 2015 17:37:01 +0000 (17:37 +0000)
commit3f2b4fc770fb5b735b286cf251b967cfa4afdf12
treebf06da9d3f5b0d4207c8486e7021daaf66ac42b5
parent67b3bbe09c36f09dda55d0e010c9d1bf12cc6073
Fix non-deterministic delays when accessing a vcpu that was in "running" or
"sleeping" state. This is done by forcing the vcpu to transition to "idle"
by returning to userspace with an exit code of VM_EXITCODE_REQIDLE.

MFC after:      2 weeks
sys/amd64/include/vmm.h
sys/amd64/vmm/amd/svm.c
sys/amd64/vmm/intel/vmx.c
sys/amd64/vmm/vmm.c
sys/amd64/vmm/vmm_stat.c
sys/amd64/vmm/vmm_stat.h
usr.sbin/bhyve/bhyverun.c