vmm & vmd: drop "continue" flag to simplify running a vcpu.
authordv <dv@openbsd.org>
Mon, 29 Apr 2024 14:47:05 +0000 (14:47 +0000)
committerdv <dv@openbsd.org>
Mon, 29 Apr 2024 14:47:05 +0000 (14:47 +0000)
commitdb090b68861dd75ec57d11a8eb88f6e6df9d4e54
tree78910e079cc8b9a0dd44f82047d1edc4dc1ac1dd
parent1f76883e9886c19a49b29f76dc8eea73fe5bae4e
vmm & vmd: drop "continue" flag to simplify running a vcpu.

There's no need to distinguish the "first" time running a vcpu from
the subsequent times because vmm(4) uses in-kernel state tracking
the last vm exit reason to optimize the logic for updating vcpu
registers from userland. While here, clean up the DPRINTF's to make
the Intel VMX logic similar to the AMD SVM.

ok mlarkin@
sys/arch/amd64/amd64/vmm_machdep.c
sys/arch/amd64/include/vmmvar.h
usr.sbin/vmd/vm.c