Changeset 23190 in vbox for trunk/src/VBox
- Timestamp:
- Sep 21, 2009 2:18:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMEmt.cpp
r23145 r23190 119 119 */ 120 120 rc = VMR3ReqProcessU(pUVM, VMCPUID_ANY); 121 Log(("vmR3EmulationThread: Req rc=%Rrc, VM state % d -> %d\n", rc, enmBefore, pUVM->pVM ? pUVM->pVM->enmVMState : VMSTATE_CREATING));121 Log(("vmR3EmulationThread: Req rc=%Rrc, VM state %s -> %s\n", rc, VMR3GetStateName(enmBefore), pUVM->pVM ? VMR3GetStateName(pUVM->pVM->enmVMState) : "CREATING")); 122 122 } 123 123 else if (pUVCpu->vm.s.pReqs) … … 127 127 */ 128 128 rc = VMR3ReqProcessU(pUVM, pUVCpu->idCpu); 129 Log(("vmR3EmulationThread: Req (cpu=%u) rc=%Rrc, VM state % d -> %d\n", pUVCpu->idCpu, rc, enmBefore, pUVM->pVM ? pUVM->pVM->enmVMState : VMSTATE_CREATING));129 Log(("vmR3EmulationThread: Req (cpu=%u) rc=%Rrc, VM state %s -> %s\n", pUVCpu->idCpu, rc, VMR3GetStateName(enmBefore), pUVM->pVM ? VMR3GetStateName(pUVM->pVM->enmVMState) : "CREATING")); 130 130 } 131 131 else … … 162 162 { 163 163 rc = VMMR3EmtRendezvousFF(pVM, &pVM->aCpus[idCpu]); 164 Log(("vmR3EmulationThread: Rendezvous rc=%Rrc, VM state % d -> %d\n", rc, enmBefore, pVM->enmVMState));164 Log(("vmR3EmulationThread: Rendezvous rc=%Rrc, VM state %s -> %s\n", rc, VMR3GetStateName(enmBefore), VMR3GetStateName(pVM->enmVMState))); 165 165 } 166 166 else if (pUVM->vm.s.pReqs) … … 170 170 */ 171 171 rc = VMR3ReqProcessU(pUVM, VMCPUID_ANY); 172 Log(("vmR3EmulationThread: Req rc=%Rrc, VM state % d -> %d\n", rc, enmBefore, pVM->enmVMState));172 Log(("vmR3EmulationThread: Req rc=%Rrc, VM state %s -> %s\n", rc, VMR3GetStateName(enmBefore), VMR3GetStateName(pVM->enmVMState))); 173 173 } 174 174 else if (pUVCpu->vm.s.pReqs) … … 178 178 */ 179 179 rc = VMR3ReqProcessU(pUVM, pUVCpu->idCpu); 180 Log(("vmR3EmulationThread: Req (cpu=%u) rc=%Rrc, VM state % d -> %d\n", pUVCpu->idCpu, rc, enmBefore, pVM->enmVMState));180 Log(("vmR3EmulationThread: Req (cpu=%u) rc=%Rrc, VM state %s -> %s\n", pUVCpu->idCpu, rc, VMR3GetStateName(enmBefore), VMR3GetStateName(pVM->enmVMState))); 181 181 } 182 182 else if (VM_FF_ISSET(pVM, VM_FF_DBGF)) … … 186 186 */ 187 187 rc = DBGFR3VMMForcedAction(pVM); 188 Log(("vmR3EmulationThread: Dbg rc=%Rrc, VM state % d -> %d\n", rc, enmBefore, pVM->enmVMState));188 Log(("vmR3EmulationThread: Dbg rc=%Rrc, VM state %s -> %s\n", rc, VMR3GetStateName(enmBefore), VMR3GetStateName(pVM->enmVMState))); 189 189 } 190 190 else if (VM_FF_TESTANDCLEAR(pVM, VM_FF_RESET)) … … 195 195 rc = VMR3Reset(pVM); 196 196 VM_FF_CLEAR(pVM, VM_FF_RESET); 197 Log(("vmR3EmulationThread: Reset rc=%Rrc, VM state % d -> %d\n", rc, enmBefore, pVM->enmVMState));197 Log(("vmR3EmulationThread: Reset rc=%Rrc, VM state %s -> %s\n", rc, VMR3GetStateName(enmBefore), VMR3GetStateName(pVM->enmVMState))); 198 198 } 199 199 else
Note:
See TracChangeset
for help on using the changeset viewer.