VirtualBox

Changeset 46713 in vbox for trunk/src


Ignore:
Timestamp:
Jun 20, 2013 4:37:26 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
86629
Message:

VMM/HMVMXR0: More debug assertion fixes, comments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp

    r46707 r46713  
    33153315{
    33163316    /* Validate segment registers. See Intel spec. 26.3.1.2 "Checks on Guest Segment Registers". */
    3317     Assert(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_CR0);
    3318     Assert(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_RFLAGS);
    3319 
    33203317    /* NOTE: The reason we check for attribute value 0 and not just the unusable bit here is because hmR0VmxWriteSegmentReg()
    33213318     * only updates the VMCS bits with the unusable bit and doesn't change the guest-context value. */
     
    55885585    else
    55895586        Assert(VMMR0IsLogFlushDisabled(pVCpu));
    5590     Log4Func(("\n"));
     5587    Log4Func(("vcpu[%RU32]\n", pVCpu->idCpu));
    55915588
    55925589    int rc = hmR0VmxSaveGuestRipRspRflags(pVCpu, pMixedCtx);
     
    79387935            && pMixedCtx->ecx <= MSR_IA32_X2APIC_END)
    79397936        {
    7940             Assert(pVCpu->hm.s.vmx.fUpdatedGuestState & HMVMX_UPDATED_GUEST_APIC_STATE);
     7937            /* We've already saved the APIC related guest-state (TPR) in hmR0VmxPostRunGuest(). When full APIC register
     7938             * virtualization is implemented we'll have to make sure APIC state is saved from the VMCS before
     7939               EMInterpretWrmsr() changes it. */
    79417940            pVCpu->hm.s.fContextUseFlags |= HM_CHANGED_VMX_GUEST_APIC_STATE;
    79427941        }
Note: See TracChangeset for help on using the changeset viewer.

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