Changeset 52611 in vbox
- Timestamp:
- Sep 5, 2014 9:44:51 AM (10 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r52595 r52611 11220 11220 11221 11221 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitApicAccess); 11222 if (rc != VINF_SUCCESS) 11223 STAM_COUNTER_INC(&pVCpu->hm.s.StatExitApicAccessToR3); 11222 11224 return rc; 11223 11225 } -
trunk/src/VBox/VMM/VMMR3/HM.cpp
r52280 r52611 5 5 6 6 /* 7 * Copyright (C) 2006-201 3Oracle Corporation7 * Copyright (C) 2006-2014 Oracle Corporation 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 703 703 HM_REG_COUNTER(&pVCpu->hm.s.StatExitMtf, "/HM/CPU%d/Exit/MonitorTrapFlag", "Monitor Trap Flag."); 704 704 HM_REG_COUNTER(&pVCpu->hm.s.StatExitApicAccess, "/HM/CPU%d/Exit/ApicAccess", "APIC access. Guest attempted to access memory at a physical address on the APIC-access page."); 705 HM_REG_COUNTER(&pVCpu->hm.s.StatExitApicAccessToR3, "/HM/CPU%d/Exit/ApicAccessToR3", "APIC access causing us to go to ring-3."); 705 706 706 707 HM_REG_COUNTER(&pVCpu->hm.s.StatSwitchGuestIrq, "/HM/CPU%d/Switch/IrqPending", "PDMGetInterrupt() cleared behind our back!?!."); … … 1232 1233 else 1233 1234 { 1234 /** @todo This cannot possibly work, there are other places which assumes1235 * this allocation cannot fail (see HMR3CanExecuteGuest()). Make this1236 * a failure case. */1237 1235 LogRel(("HM: No real mode VT-x support (PDMR3VMMDevHeapAlloc returned %Rrc)\n", rc)); 1238 1236 pVM->hm.s.vmx.pRealModeTSS = NULL; 1239 1237 pVM->hm.s.vmx.pNonPagingModeEPTPageTable = NULL; 1238 return VMSetError(pVM, rc, RT_SRC_POS, 1239 "HM failure: No real mode VT-x support (PDMR3VMMDevHeapAlloc returned %Rrc)", rc); 1240 1240 } 1241 1241 } … … 2466 2466 /* 2467 2467 * The VMM device heap is a requirement for emulating real mode or protected mode without paging with the unrestricted 2468 * guest execution feature i missing (VT-x only).2468 * guest execution feature is missing (VT-x only). 2469 2469 */ 2470 2470 if (fSupportsRealMode) … … 2666 2666 2667 2667 /** 2668 * Checks if we are currently using hardware accelerat ed raw mode.2668 * Checks if we are currently using hardware acceleration. 2669 2669 * 2670 2670 * @returns true if hardware acceleration is being used, otherwise false. … … 2678 2678 2679 2679 /** 2680 * External interface for querying whether hardware accelerated raw mode is 2681 * enabled. 2680 * External interface for querying whether hardware acceleration is enabled. 2682 2681 * 2683 2682 * @returns true if VT-x or AMD-V is being used, otherwise false. -
trunk/src/VBox/VMM/include/HMInternal.h
r52279 r52611 912 912 STAMCOUNTER StatExitMtf; 913 913 STAMCOUNTER StatExitApicAccess; 914 STAMCOUNTER StatExitApicAccessToR3; 914 915 STAMCOUNTER StatPendingHostIrq; 915 916
Note:
See TracChangeset
for help on using the changeset viewer.