VirtualBox

Changeset 67749 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Jul 3, 2017 9:35:35 AM (7 years ago)
Author:
vboxsync
Message:

VMM/IEM: Nested Hw.virt: More flexible EFER transitions on VMRUN. Fixes 64-bit bootsector to work as nested-guest.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImplSvmInstr.cpp.h

    r67720 r67749  
    502502            /* EFER, CR0 and CR4. */
    503503            uint64_t uValidEfer;
    504             rc = CPUMQueryValidatedGuestEfer(pVM, VmcbNstGst.u64CR0, 0 /* uOldEfer */, VmcbNstGst.u64EFER, &uValidEfer);
     504            rc = CPUMQueryValidatedGuestEfer(pVM, VmcbNstGst.u64CR0, VmcbNstGst.u64EFER, VmcbNstGst.u64EFER, &uValidEfer);
    505505            if (RT_FAILURE(rc))
    506506            {
    507                 Log(("iemSvmVmrun: EFER invalid uOldEfer=%#RX64 uValidEfer=%#RX64 -> #VMEXIT\n", VmcbNstGst.u64EFER, uValidEfer));
     507                Log(("iemSvmVmrun: EFER invalid uOldEfer=%#RX64 -> #VMEXIT\n", VmcbNstGst.u64EFER));
    508508                return iemSvmVmexit(pVCpu, pCtx, SVM_EXIT_INVALID, 0 /* uExitInfo1 */, 0 /* uExitInfo2 */);
    509509            }
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