- Timestamp:
- Oct 29, 2018 2:32:55 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/VMM.cpp
r75151 r75152 113 113 #include <VBox/vmm/mm.h> 114 114 #include <VBox/vmm/nem.h> 115 #include <VBox/vmm/iem.h> 115 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX 116 # include <VBox/vmm/iem.h> 117 #endif 116 118 #include <VBox/vmm/iom.h> 117 119 #include <VBox/vmm/trpm.h> … … 1580 1582 1581 1583 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu); 1584 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX 1582 1585 if (CPUMIsGuestInVmxRootMode(pCtx)) 1583 1586 { … … 1589 1592 return VINF_SUCCESS; 1590 1593 } 1594 #endif 1591 1595 1592 1596 pCtx->cs.Sel = uVector << 8; … … 1628 1632 1629 1633 /* If the CPU is in VMX non-root mode, INIT signals cause VM-exits. */ 1634 #ifdef VBOX_WITH_NESTED_HWVIRT_VMX 1630 1635 PCPUMCTX pCtx = CPUMQueryGuestCtxPtr(pVCpu); 1631 1636 if (CPUMIsGuestInVmxNonRootMode(pCtx)) 1632 1637 return IEMExecVmxVmexitInitIpi(pVCpu); 1638 #endif 1633 1639 1634 1640 /** @todo Figure out how to handle a nested-guest intercepts here for INIT
Note:
See TracChangeset
for help on using the changeset viewer.