VirtualBox

Changeset 101408 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Oct 11, 2023 4:38:39 AM (18 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159443
Message:

VMM/HMR0: bugref:9918 Clarifying comment regarding why hmR0InitIntelVerifyVmxUsability isn't called on all CPUs here.

File:
1 edited

Legend:

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

    r101388 r101408  
    484484        if (!g_fHmVmxUsingSUPR0EnableVTx)
    485485        {
     486            /*
     487             * We don't verify VMX root mode on all CPUs here because the verify
     488             * function exits VMX root mode thus potentially allowing other
     489             * programs to grab VT-x. Our global init's entering and staying in
     490             * VMX root mode (until our module termination) is done later when
     491             * the first VM powers up (after module initialization) using
     492             * VMMR0_DO_HM_ENABLE which calls HMR0EnableAllCpus().
     493             * 
     494             * This is just a quick sanity check.
     495             */
    486496            rc = hmR0InitIntelVerifyVmxUsability(uVmxBasicMsr);
    487497            if (RT_SUCCESS(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette