VirtualBox

Changeset 73235 in vbox


Ignore:
Timestamp:
Jul 19, 2018 10:52:25 AM (7 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested VMX: bugref:9180 Disable nested hw.virt for NEM.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r73228 r73235  
    39483948        return VMSetError(pVM, VERR_CPUM_INVALID_HWVIRT_CONFIG, RT_SRC_POS,
    39493949                          "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!\n");
     3950
     3951    /** @todo Think about enabling this later with NEM/KVM. */
     3952    if (   pConfig->fNestedHWVirt
     3953        && VM_IS_NEM_ENABLED(pVM))
     3954    {
     3955        LogRel(("CPUM: WARNING! Can't turn on nested VT-x/AMD-V when NEM is used!\n"));
     3956        pConfig->fNestedHWVirt = false;
     3957    }
    39503958#endif
    39513959
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