VirtualBox

Changeset 72456 in vbox


Ignore:
Timestamp:
Jun 6, 2018 3:53:15 AM (6 years ago)
Author:
vboxsync
Message:

VMM: Fail to start VM when nested-paging/UX isn't available when nested hwvirt is enabled for the VM.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/err.h

    r72412 r72456  
    653653/** Indicates that we modified the host CR0 (FPU related). */
    654654#define VINF_CPUM_HOST_CR0_MODIFIED             (1766)
     655/** Invalid/unsupported nested hardware virtualization configuration. */
     656#define VERR_CPUM_INVALID_HWVIRT_CONFIG         (-1767)
    655657/** @} */
    656658
  • trunk/src/VBox/VMM/VMMR3/CPUMR3CpuId.cpp

    r72345 r72456  
    39443944    if (   pConfig->fNestedHWVirt
    39453945        && !fNestedPagingAndFullGuestExec)
    3946     {
    3947         LogRel(("CPUM: Warning! Can't turn on nested VT-x/AMD-V without nested-paging and unrestricted guest execution!\n"));
    3948         pConfig->fNestedHWVirt = false;
    3949     }
     3946        return VMSetError(pVM, VERR_CPUM_INVALID_HWVIRT_CONFIG, RT_SRC_POS,
     3947                          "Cannot enable nested VT-x/AMD-V without nested-paging and unresricted guest execution!\n");
    39503948#endif
    39513949
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