VirtualBox

Changeset 23190 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 21, 2009 2:18:30 PM (15 years ago)
Author:
vboxsync
Message:

VMEmt.cpp: Logging changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMEmt.cpp

    r23145 r23190  
    119119                 */
    120120                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"));
    122122            }
    123123            else if (pUVCpu->vm.s.pReqs)
     
    127127                 */
    128128                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"));
    130130            }
    131131            else
     
    162162            {
    163163                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)));
    165165            }
    166166            else if (pUVM->vm.s.pReqs)
     
    170170                 */
    171171                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)));
    173173            }
    174174            else if (pUVCpu->vm.s.pReqs)
     
    178178                 */
    179179                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)));
    181181            }
    182182            else if (VM_FF_ISSET(pVM, VM_FF_DBGF))
     
    186186                 */
    187187                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)));
    189189            }
    190190            else if (VM_FF_TESTANDCLEAR(pVM, VM_FF_RESET))
     
    195195                rc = VMR3Reset(pVM);
    196196                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)));
    198198            }
    199199            else
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette