VirtualBox

Changeset 55735 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
May 7, 2015 6:04:11 PM (10 years ago)
Author:
vboxsync
Message:

HMSVMR0.cpp: Should use IEM for CRx writes, CR4.OSXSAVE isn't supported by the EM version. Fixed a log statement. Log XSETBV.

File:
1 edited

Legend:

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

    r55316 r55735  
    18771877               ("fContextUseFlags=%#RX32\n", HMCPU_CF_VALUE(pVCpu)));
    18781878
    1879     Log4(("Load: CS:RIP=%04x:%RX64 EFL=%#x SS:RSP=%04x:%RX64\n", pCtx->cs.Sel, pCtx->rip, pCtx->eflags.u, pCtx->ss, pCtx->rsp));
     1879    Log4(("Load: CS:RIP=%04x:%RX64 EFL=%#x SS:RSP=%04x:%RX64\n", pCtx->cs.Sel, pCtx->rip, pCtx->eflags.u, pCtx->ss.Sel, pCtx->rsp));
    18801880    STAM_PROFILE_ADV_STOP(&pVCpu->hm.s.StatLoadGuestState, x);
    18811881    return rc;
     
    44904490{
    44914491    HMSVM_VALIDATE_EXIT_HANDLER_PARAMS();
     4492
    44924493    /** @todo Decode Assist. */
    4493     VBOXSTRICTRC rc2 = EMInterpretInstruction(pVCpu, CPUMCTX2CORE(pCtx), 0 /* pvFault */);
    4494     int rc = VBOXSTRICTRC_VAL(rc2);
     4494    VBOXSTRICTRC rc = IEMExecOneBypassEx(pVCpu, CPUMCTX2CORE(pCtx), NULL);
     4495    if (RT_UNLIKELY(   rc == VERR_IEM_ASPECT_NOT_IMPLEMENTED
     4496                    || rc == VERR_IEM_INSTR_NOT_IMPLEMENTED))
     4497        rc = VERR_EM_INTERPRETER;
    44954498    if (rc == VINF_SUCCESS)
    44964499    {
     
    47344737
    47354738    pVCpu->hm.s.fLoadSaveGuestXcr0 = (pCtx->cr4 & X86_CR4_OSXSAVE) && pCtx->aXcr[0] != ASMGetXcr0();
     4739    Log4(("hmR0SvmExitXsetbv: New XCR0=%#RX64 fLoadSaveGuestXcr0=%d (cr4=%RX64) rcStrict=%Rrc\n",
     4740          pCtx->aXcr[0], pVCpu->hm.s.fLoadSaveGuestXcr0, pCtx->cr4, VBOXSTRICTRC_VAL(rcStrict)));
    47364741
    47374742    HMSVM_CHECK_SINGLE_STEP(pVCpu, rcStrict);
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