summaryrefslogtreecommitdiff
path: root/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2018-02-10 15:38:12 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2018-02-10 15:38:12 +0000
commit1685e9618a7506639ac8d77e8c096c5459c011a2 (patch)
tree2bbdac530ba56ca1f4237f214f015e0611e18e2a /src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
parent0dcf397a9f86e42efde9205c34e9629b90c6307f (diff)
downloadVirtualBox-svn-1685e9618a7506639ac8d77e8c096c5459c011a2.tar.gz
VMM: Added a bMainExecutionEngine member to the VM structure for use instead of fHMEnabled and fNEMEnabled. Changed a lot of HMIsEnabled invocations to use the new macros VM_IS_RAW_MODE_ENABLED and VM_IS_HM_OR_NEM_ENABLED. Eliminated fHMEnabledFixed. Fixed inverted test for raw-mode debug register sanity checking. Some other minor cleanups.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@70948 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp')
-rw-r--r--src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp b/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
index 9c9bf96d469..d6e0f55efdf 100644
--- a/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
+++ b/src/VBox/VMM/VMMR3/VMMGuruMeditation.cpp
@@ -304,7 +304,7 @@ VMMR3DECL(void) VMMR3FatalDump(PVM pVM, PVMCPU pVCpu, int rcErr)
RTGCUINTPTR uCR2 = 0xdeadface;
uint8_t cbInstr = UINT8_MAX;
int rc2 = TRPMQueryTrapAll(pVCpu, &u8TrapNo, &enmType, &uErrorCode, &uCR2, &cbInstr);
- if (!HMIsEnabled(pVM))
+ if (VM_IS_RAW_MODE_ENABLED(pVM))
{
if (RT_SUCCESS(rc2))
pHlp->pfnPrintf(pHlp,
@@ -323,7 +323,7 @@ VMMR3DECL(void) VMMR3FatalDump(PVM pVM, PVMCPU pVCpu, int rcErr)
/*
* Dump the relevant hypervisor registers and stack.
*/
- if (HMIsEnabled(pVM))
+ if (!VM_IS_RAW_MODE_ENABLED(pVM))
{
if ( rcErr == VERR_VMM_RING0_ASSERTION /* fInRing3Call has already been cleared here. */
|| pVCpu->vmm.s.CallRing3JmpBufR0.fInRing3Call)