VirtualBox

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


Ignore:
Timestamp:
Sep 13, 2013 4:26:24 PM (11 years ago)
Author:
vboxsync
Message:

HMVMX: Look at the right guest long mode indicator.

File:
1 edited

Legend:

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

    r48477 r48478  
    81048104
    81058105#ifdef VBOX_STRICT
    8106         rc = VMXReadVmcs32(VMX_VMCS32_CTRL_PROC_EXEC, &u32Val);
     8106        rc = VMXReadVmcs32(VMX_VMCS32_CTRL_ENTRY, &u32Val);
    81078107        AssertRCBreak(rc);
    81088108        Assert(u32Val == pVCpu->hm.s.vmx.u32ProcCtls);
    81098109#endif
    8110         bool const fLongModeGuest = RT_BOOL(pVCpu->hm.s.vmx.u32ProcCtls & VMX_VMCS_CTRL_ENTRY_IA32E_MODE_GUEST);
     8110        bool const fLongModeGuest = RT_BOOL(pVCpu->hm.s.vmx.u32EntryCtls & VMX_VMCS_CTRL_ENTRY_IA32E_MODE_GUEST);
    81118111
    81128112        /*
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