diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-03-24 08:04:03 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2017-03-24 08:04:03 +0000 |
commit | 6ea8b87e1d381664dfc845d0ed1fedb4732536d1 (patch) | |
tree | 2d0ff3ea625d46edc8506e92d017ca13d0dc9c8f | |
parent | 7b71fbc64febb791bb099b8c63e1d6b788d71ed7 (diff) |
Allow vmd to proceed after an interrupt occurred after retiring a cpuid
instruction. Matches previous commit to kernel vmm.c
-rw-r--r-- | usr.sbin/vmd/vm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/vmd/vm.c b/usr.sbin/vmd/vm.c index 72e369f2201..896364b7c07 100644 --- a/usr.sbin/vmd/vm.c +++ b/usr.sbin/vmd/vm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vm.c,v 1.5 2017/03/23 07:59:41 mlarkin Exp $ */ +/* $OpenBSD: vm.c,v 1.6 2017/03/24 08:04:02 mlarkin Exp $ */ /* * Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org> @@ -1002,6 +1002,7 @@ vcpu_exit(struct vm_run_params *vrp) switch (vrp->vrp_exit_reason) { case VMX_EXIT_INT_WINDOW: + case VMX_EXIT_CPUID: case VMX_EXIT_EXTINT: case VMX_EXIT_EPT_VIOLATION: case SVM_VMEXIT_NPF: |