VirtualBox

Ignore:
Timestamp:
Sep 6, 2018 2:43:53 AM (6 years ago)
Author:
vboxsync
Message:

VMM/CPUM: Nested VMX: bugref:9180 Disallow nested hwvirt on 32-bit hosts.

File:
1 edited

Legend:

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

    r73606 r74097  
    39493949        /** @cfgm{/CPUM/NestedHWVirt, bool, false}
    39503950         * Whether to expose the hardware virtualization (VMX/SVM) feature to the guest.
    3951          * The default is false, and when enabled requires nested paging and AMD-V or
    3952          * unrestricted guest mode.
     3951         * The default is false, and when enabled requires a 64-bit CPU with support for
     3952         * nested-paging and AMD-V or unrestricted guest mode.
    39533953         */
    39543954        rc = CFGMR3QueryBoolDef(pCpumCfg, "NestedHWVirt", &pConfig->fNestedHWVirt, false);
     
    39663966            pConfig->fNestedHWVirt = false;
    39673967        }
     3968
     3969#if HC_ARCH_BITS == 32
     3970        /* We don't support nested hardware virtualization on 32-bit hosts. */
     3971        if (pConfig->fNestedHWVirt)
     3972            return VMSetError(pVM, VERR_CPUM_INVALID_HWVIRT_CONFIG, RT_SRC_POS,
     3973                              "Cannot enable nested VT-x/AMD-V on a 32-bit host\n");
     3974#endif
    39683975    }
    39693976
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