VirtualBox

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


Ignore:
Timestamp:
Aug 22, 2013 4:03:03 PM (11 years ago)
Author:
vboxsync
Message:

VMM/HM: Better error reporting for unsupported VT-x feature combos.

File:
1 edited

Legend:

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

    r47997 r47999  
    17231723        LogRel(("hmR0VmxSetupPinCtls: invalid pin-based VM-execution controls combo! cpu=%#RX64 val=%#RX64 zap=%#RX64\n",
    17241724                pVM->hm.s.vmx.msr.vmx_pin_ctls.n.disallowed0, val, zap));
     1725        pVCpu->hm.s.u32HMError = VMX_UFC_CTRL_PIN_EXEC;
    17251726        return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    17261727    }
     
    17641765    {
    17651766        LogRel(("hmR0VmxSetupProcCtls: unsupported VMX_VMCS_CTRL_PROC_EXEC_MOV_DR_EXIT combo!"));
     1767        pVCpu->hm.s.u32HMError = VMX_UFC_CTRL_PROC_MOV_DRX_EXIT;
    17661768        return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    17671769    }
     
    18291831        LogRel(("hmR0VmxSetupProcCtls: invalid processor-based VM-execution controls combo! cpu=%#RX64 val=%#RX64 zap=%#RX64\n",
    18301832                pVM->hm.s.vmx.msr.vmx_proc_ctls.n.disallowed0, val, zap));
     1833        pVCpu->hm.s.u32HMError = VMX_UFC_CTRL_PROC_EXEC;
    18311834        return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    18321835    }
     
    25522555    {
    25532556        LogRel(("cHostMsrs=%u Cpu=%u\n", cHostMsrs, (unsigned)MSR_IA32_VMX_MISC_MAX_MSR(pVM->hm.s.vmx.msr.vmx_misc)));
     2557        pVCpu->hm.s.u32HMError = VMX_UFC_INSUFFICIENT_HOST_MSR_STORAGE;
    25542558        return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    25552559    }
     
    26382642            LogRel(("hmR0VmxLoadGuestEntryCtls: invalid VM-entry controls combo! cpu=%RX64 val=%RX64 zap=%RX64\n",
    26392643                    pVM->hm.s.vmx.msr.vmx_entry.n.disallowed0, val, zap));
     2644            pVCpu->hm.s.u32HMError = VMX_UFC_CTRL_ENTRY;
    26402645            return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    26412646        }
     
    27082713            LogRel(("hmR0VmxSetupProcCtls: invalid VM-exit controls combo! cpu=%RX64 val=%RX64 zap=%RX64\n",
    27092714                    pVM->hm.s.vmx.msr.vmx_exit.n.disallowed0, val, zap));
     2715            pVCpu->hm.s.u32HMError = VMX_UFC_CTRL_EXIT;
    27102716            return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    27112717        }
     
    39543960        {
    39553961            LogRel(("CPU autoload/store MSR count in VMCS exceeded cGuestMsrs=%u.\n", cGuestMsrs));
     3962            pVCpu->hm.s.u32HMError = VMX_UFC_INSUFFICIENT_GUEST_MSR_STORAGE;
    39563963            return VERR_HM_UNSUPPORTED_CPU_FEATURE_COMBO;
    39573964        }
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