VirtualBox

Changeset 80797 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Sep 15, 2019 6:31:14 PM (5 years ago)
Author:
vboxsync
Message:

Main/Host: adapt condition for nested virtualization, including VT-x if unrestricted execution is available

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/HostImpl.cpp

    r80398 r80797  
    391391                else
    392392                    Assert(m->fUnrestrictedGuestSupported == false);
    393                 /** @todo r=klaus put accurate condition here and update it as
    394                  * the feature becomes available with VT-x. */
    395                 if (   (fVTCaps & SUPVTCAPS_AMD_V)
    396                     && m->fNestedPagingSupported)
     393                /** @todo r=klaus put accurate condition here, it's still approximate. */
     394                if (   (   (fVTCaps & SUPVTCAPS_AMD_V)
     395                        && m->fNestedPagingSupported)
     396                    || (fVTCaps & SUPVTCAPS_VTX_UNRESTRICTED_GUEST))
    397397                    m->fNestedHWVirtSupported = true;
    398398            }
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