VirtualBox

Changeset 89868 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Jun 23, 2021 6:02:11 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
145325
Message:

Main/Console+Machine: Eliminate CMPXCHG16B hack (see bugref:6300) since it is no longer needed. Also make the ParavirtProvider check (Windows Server versions) for the Hyper-V case somewhat future proof. Add a reminder to Global.cpp when adding new guest OS types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/ConsoleImpl2.cpp

    r89852 r89868  
    10321032            LogRel(("Limiting CPUID leaf count for NT4 guests\n"));
    10331033            InsertConfigInteger(pCPUM, "NT4LeafLimit", true);
    1034         }
    1035 
    1036         /* Expose CMPXCHG16B. Currently a hack. */
    1037         if (   osTypeId == "Windows81_64"
    1038             || osTypeId == "Windows2012_64"
    1039             || osTypeId == "Windows10_64"
    1040             || osTypeId == "Windows2016_64")
    1041         {
    1042             LogRel(("Enabling CMPXCHG16B for Windows 8.1 / 2k12 or newer guests\n"));
    1043             InsertConfigInteger(pIsaExts, "CMPXCHG16B", true);
    10441034        }
    10451035
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