Changeset 88346 in vbox for trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
- Timestamp:
- Apr 1, 2021 1:16:25 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r88344 r88346 601 601 } 602 602 603 #if 0 /** @todo brokensee oem2 ticket 40 */603 #if 0 /** @todo temporarily disabled, see oem2 ticket 40 */ 604 604 605 605 /** … … 644 644 else if (VMCPU_FF_IS_SET(pVCpu, VMCPU_FF_INTERRUPT_SMI)) 645 645 { 646 Log12(("vmmR0DoHaltInterrupt: CPU%d failed #3\n", pVCpu->idCpu)); 646 647 return VINF_EM_HALT; 647 648 } … … 654 655 { 655 656 /** @todo later. */ 657 Log12(("vmmR0DoHaltInterrupt: CPU%d failed #2 (uMWait=%u enmInt=%d)\n", pVCpu->idCpu, uMWait, enmInterruptibility)); 656 658 return VINF_EM_HALT; 657 659 } … … 667 669 * here before injecting the virtual interrupt. See emR3ForcedActions 668 670 * for details. */ 671 Log12(("vmmR0DoHaltInterrupt: CPU%d failed #1 (uMWait=%u enmInt=%d)\n", pVCpu->idCpu, uMWait, enmInterruptibility)); 669 672 return VINF_EM_HALT; 670 673 } … … 674 677 { 675 678 STAM_REL_COUNTER_INC(&pVCpu->vmm.s.StatR0HaltExec); 679 Log11(("vmmR0DoHaltInterrupt: CPU%d success VINF_SUCCESS (UNHALT)\n", pVCpu->idCpu)); 676 680 return VINF_SUCCESS; 677 681 } … … 679 683 { 680 684 STAM_REL_COUNTER_INC(&pVCpu->vmm.s.StatR0HaltExec); 685 Log11(("vmmR0DoHaltInterrupt: CPU%d success VINF_SUCCESS (uMWait=%u > 1)\n", pVCpu->idCpu, uMWait)); 681 686 return VINF_SUCCESS; 682 687 } 683 688 689 Log12(("vmmR0DoHaltInterrupt: CPU%d failed #0 (uMWait=%u enmInt=%d)\n", pVCpu->idCpu, uMWait, enmInterruptibility)); 684 690 return VINF_EM_HALT; 685 691 } … … 850 856 uint64_t const u64EndSchedHalt = RTTimeNanoTS(); 851 857 uint64_t const cNsElapsedSchedHalt = u64EndSchedHalt - u64StartSchedHalt; 858 Log10(("vmmR0DoHalt: CPU%d: halted %llu ns\n", pGVCpu->idCpu, cNsElapsedSchedHalt)); 852 859 853 860 VMCPU_CMPXCHG_STATE(pGVCpu, VMCPUSTATE_STARTED, VMCPUSTATE_STARTED_HALTED); … … 878 885 return vmmR0DoHaltInterrupt(pGVCpu, uMWait, enmInterruptibility); 879 886 } 887 Log12(("vmmR0DoHalt: CPU%d post #2 - No pending interrupt\n", pGVCpu->idCpu)); 880 888 } 889 else 890 Log12(("vmmR0DoHalt: CPU%d post #1 - Pending FF\n", pGVCpu->idCpu)); 881 891 } 892 else 893 Log12(("vmmR0DoHalt: CPU%d GVMMR0SchedHalt failed: %Rrc\n", pGVCpu->idCpu, rc)); 882 894 } 883 895 else 896 { 884 897 VMCPU_CMPXCHG_STATE(pGVCpu, VMCPUSTATE_STARTED, VMCPUSTATE_STARTED_HALTED); 898 Log12(("vmmR0DoHalt: CPU%d failed #4 - Pending FF\n", pGVCpu->idCpu)); 899 } 885 900 } 901 else 902 Log12(("vmmR0DoHalt: CPU%d failed #3 - enmState=%d\n", pGVCpu->idCpu, VMCPU_GET_STATE(pGVCpu))); 886 903 } 904 else 905 Log12(("vmmR0DoHalt: CPU%d failed #2 - Pending FF\n", pGVCpu->idCpu)); 887 906 } 888 907 } 889 } 908 else 909 Log12(("vmmR0DoHalt: CPU%d failed #1 - Pending FF\n", pGVCpu->idCpu)); 910 } 911 else 912 Log12(("vmmR0DoHalt: CPU%d failed #0 - fMayHaltInRing0=%d TRPMHasTrap=%d enmInt=%d uMWait=%u\n", 913 pGVCpu->idCpu, pGVCpu->vmm.s.fMayHaltInRing0, TRPMHasTrap(pGVCpu), enmInterruptibility, uMWait)); 914 890 915 return VINF_EM_HALT; 891 916 } … … 1491 1516 vmmR0RecordRC(pGVM, pGVCpu, rc); 1492 1517 #endif 1493 #if 0 /** @todo brokensee oem2 ticket 40 */1518 #if 0 /** @todo temporarily disabled, see oem2 ticket 40 */ 1494 1519 /* 1495 1520 * If this is a halt.
Note:
See TracChangeset
for help on using the changeset viewer.