VirtualBox

Ignore:
Timestamp:
May 13, 2014 2:19:15 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HMVMXR0: Relax EFER consistency/corruption checks for the fixes done in r93674.

File:
1 edited

Legend:

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

    r51241 r51244  
    61776177            case MSR_K8_SF_MASK:        pMixedCtx->msrSFMASK       = pMsr->u64Value;             break;
    61786178            case MSR_K8_KERNEL_GS_BASE: pMixedCtx->msrKERNELGSBASE = pMsr->u64Value;             break;
    6179 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    6180             case MSR_K6_EFER:
    6181             {
    6182                 if (HMVMX_IS_64BIT_HOST_MODE())  /* Nothing to do here since we intercept writes, see hmR0VmxLoadGuestMsrs(). */
    6183                     break;
    6184             }
    6185 #endif
     6179            case MSR_K6_EFER: /* Nothing to do here since we intercept writes, see hmR0VmxLoadGuestMsrs(). */
     6180                break;
     6181
    61866182            default:
    61876183            {
    61886184                AssertMsgFailed(("Unexpected MSR in auto-load/store area. uMsr=%#RX32 cMsrs=%u\n", pMsr->u32Msr, cMsrs));
     6185                pVCpu->hm.s.u32HMError = pMsr->u32Msr;
    61896186                return VERR_HM_UNEXPECTED_LD_ST_MSR;
    61906187            }
     
    1046510462                    if (hmR0VmxIsAutoLoadStoreGuestMsr(pVCpu, pMixedCtx->ecx))
    1046610463                    {
    10467 #if HC_ARCH_BITS == 64 || defined(VBOX_WITH_HYBRID_32BIT_KERNEL)
    1046810464                        /* EFER writes are always intercepted, see hmR0VmxLoadGuestMsrs(). */
    10469                         if (   HMVMX_IS_64BIT_HOST_MODE()
    10470                             && pMixedCtx->ecx == MSR_K6_EFER)
     10465                        if (pMixedCtx->ecx != MSR_K6_EFER)
    1047110466                        {
    10472                             break;
     10467                            AssertMsgFailed(("Unexpected WRMSR for an MSR in the auto-load/store area in the VMCS. ecx=%#RX32\n",
     10468                                             pMixedCtx->ecx));
     10469                            HMVMX_RETURN_UNEXPECTED_EXIT();
    1047310470                        }
    10474 #endif
    10475                         AssertMsgFailed(("Unexpected WRMSR for an MSR in the auto-load/store area in the VMCS. ecx=%#RX32\n",
    10476                                          pMixedCtx->ecx));
    10477                         HMVMX_RETURN_UNEXPECTED_EXIT();
    1047810471                    }
    1047910472
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