VirtualBox

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


Ignore:
Timestamp:
Jun 8, 2010 1:40:27 PM (15 years ago)
Author:
vboxsync
Message:

Don't execute vmread after vmxon fails. (-> #UD)

File:
1 edited

Legend:

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

    r29737 r30089  
    129129    if (RT_FAILURE(rc))
    130130    {
    131         if (pVM)
    132             VMXR0CheckError(pVM, &pVM->aCpus[0], rc);
    133131        ASMSetCR4(ASMGetCR4() & ~X86_CR4_VMXE);
    134132        return VERR_VMX_VMXON_FAILED;
     
    46264624    if (RT_FAILURE(rc2))
    46274625    {
    4628         if (pVM)
    4629             VMXR0CheckError(pVM, pVCpu, rc2);
    46304626        ASMSetCR4(ASMGetCR4() & ~X86_CR4_VMXE);
    46314627        ASMSetFlags(uOldEFlags);
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