aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/vmm/vmm_stat.h
diff options
context:
space:
mode:
authorNeel Natu <neel@FreeBSD.org>2014-01-22 04:03:11 +0000
committerNeel Natu <neel@FreeBSD.org>2014-01-22 04:03:11 +0000
commitc308b23b7a2bb90f1513662a6e580037b7926453 (patch)
tree8643c7afbe600a8b412d22d6519a43f802014df1 /sys/amd64/vmm/vmm_stat.h
parent4e5f86e0096fdeb8b6b82dc11fe927cd5b0cd109 (diff)
downloadsrc-c308b23b7a2bb90f1513662a6e580037b7926453.tar.gz
src-c308b23b7a2bb90f1513662a6e580037b7926453.zip
Handle a VM-exit due to a NMI properly by vectoring to the host's NMI handler
via a software interrupt. This is safe to do because the logical processor is already cognizant of the NMI and further NMIs are blocked until the host's NMI handler executes "iret".
Notes
Notes: svn path=/head/; revision=261001
Diffstat (limited to 'sys/amd64/vmm/vmm_stat.h')
-rw-r--r--sys/amd64/vmm/vmm_stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/vmm/vmm_stat.h b/sys/amd64/vmm/vmm_stat.h
index 190dadbbf555..35efb925626f 100644
--- a/sys/amd64/vmm/vmm_stat.h
+++ b/sys/amd64/vmm/vmm_stat.h
@@ -121,4 +121,5 @@ VMM_STAT_DECLARE(VMEXIT_UNKNOWN);
VMM_STAT_DECLARE(VMEXIT_ASTPENDING);
VMM_STAT_DECLARE(VMEXIT_USERSPACE);
VMM_STAT_DECLARE(VMEXIT_RENDEZVOUS);
+VMM_STAT_DECLARE(VMEXIT_EXCEPTION);
#endif