VirtualBox

Changeset 14530 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 24, 2008 4:28:46 PM (16 years ago)
Author:
vboxsync
Message:

More error logging

Location:
trunk/src/VBox/VMM
Files:
4 edited

Legend:

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

    r14413 r14530  
    11091109            LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current pointer %RGp vs %RGp\n", i, pVM->aCpus[i].hwaccm.s.vmx.lasterror.u64VMCSPhys, pVM->aCpus[i].hwaccm.s.vmx.pVMCSPhys));
    11101110            LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current VMCS version %x\n", i, pVM->aCpus[i].hwaccm.s.vmx.lasterror.ulVMCSRevision));
     1111            LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Entered Cpu %d\n", i, pVM->aCpus[i].hwaccm.s.vmx.lasterror.idEnteredCpu));
     1112            LogRel(("VERR_VMX_INVALID_VMCS_PTR: CPU%d Current Cpu %d\n", i, pVM->aCpus[i].hwaccm.s.vmx.lasterror.idCurrentCpu));
    11111113            break;
    11121114
  • trunk/src/VBox/VMM/HWACCMInternal.h

    r14366 r14530  
    409409            uint32_t                ulInstrError;
    410410            uint32_t                ulExitReason;
     411            RTCPUID                 idEnteredCpu;
     412            RTCPUID                 idCurrentCpu;
    411413            uint32_t                padding;
    412414        } lasterror;
  • trunk/src/VBox/VMM/VMMR0/HWSVMR0.cpp

    r14416 r14530  
    861861             * Before we are able to execute this instruction in raw mode (iret to guest code) an external interrupt might
    862862             * force a world switch again. Possibly allowing a guest interrupt to be dispatched in the process. This could
    863              * break the guest. Sounds very unlikely, but such timing sensitive problem are not as rare as you might think.
     863             * break the guest. Sounds very unlikely, but such timing sensitive problems are not as rare as you might think.
    864864             */
    865865            VM_FF_CLEAR(pVM, VM_FF_INHIBIT_INTERRUPTS);
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r14385 r14530  
    18211821             * Before we are able to execute this instruction in raw mode (iret to guest code) an external interrupt might
    18221822             * force a world switch again. Possibly allowing a guest interrupt to be dispatched in the process. This could
    1823              * break the guest. Sounds very unlikely, but such timing sensitive problem are not as rare as you might think.
     1823             * break the guest. Sounds very unlikely, but such timing sensitive problems are not as rare as you might think.
    18241824             */
    18251825            VM_FF_CLEAR(pVM, VM_FF_INHIBIT_INTERRUPTS);
     
    30223022        VMXGetActivateVMCS(&pVCpu->hwaccm.s.vmx.lasterror.u64VMCSPhys);
    30233023        pVCpu->hwaccm.s.vmx.lasterror.ulVMCSRevision = *(uint32_t *)pVCpu->hwaccm.s.vmx.pVMCS;
     3024        pVCpu->hwaccm.s.vmx.lasterror.idEnteredCpu   = pVCpu->hwaccm.s.idEnteredCpu;
     3025        pVCpu->hwaccm.s.vmx.lasterror.idCurrentCpu   = RTMpCpuId();
    30243026    }
    30253027
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