summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Mooney <pmooney@pfmooney.com>2018-06-26 20:52:19 +0000
committerPatrick Mooney <pmooney@pfmooney.com>2018-07-12 19:38:47 +0000
commita14a61c954e512b21fc1be4a408e945f7f15df17 (patch)
tree64668e2ab86d0867906461db7e073aabbece3a65
parentd638c6316f2021e055ef3b139f99aa5989c122d0 (diff)
downloadillumos-joyent-a14a61c954e512b21fc1be4a408e945f7f15df17.tar.gz
OS-7054 bhyve should halt on triple fault
Reviewed by: Mike Gerdts <mike.gerdts@joyent.com> Reviewed by: Hans Rosenfeld <hans.rosenfeld@joyent.com> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
-rw-r--r--usr/src/uts/i86pc/io/vmm/vmm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/usr/src/uts/i86pc/io/vmm/vmm.c b/usr/src/uts/i86pc/io/vmm/vmm.c
index 0f722facb0..a4b669ab81 100644
--- a/usr/src/uts/i86pc/io/vmm/vmm.c
+++ b/usr/src/uts/i86pc/io/vmm/vmm.c
@@ -2324,9 +2324,7 @@ nested_fault(struct vm *vm, int vcpuid, uint64_t info1, uint64_t info2,
if (type1 == VM_INTINFO_HWEXCEPTION && vector1 == IDT_DF) {
VCPU_CTR2(vm, vcpuid, "triple fault: info1(%#lx), info2(%#lx)",
info1, info2);
-#ifdef __FreeBSD__
vm_suspend(vm, VM_SUSPEND_TRIPLEFAULT);
-#endif
*retinfo = 0;
return (0);
}