VirtualBox

Changeset 64854 in vbox for trunk


Ignore:
Timestamp:
Dec 13, 2016 5:10:21 PM (8 years ago)
Author:
vboxsync
Message:

VMM/HM: Fix VM-exit descriptions on stat counters on VIA CPUs to not use the AMD-V ones but the corresponding Intel ones.

File:
1 edited

Legend:

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

    r64626 r64854  
    964964        if (RT_SUCCESS(rc))
    965965        {
    966             const char * const *papszDesc = ASMIsIntelCpu() ? &g_apszVTxExitReasons[0] : &g_apszAmdVExitReasons[0];
     966            const char *const *papszDesc = ASMIsIntelCpu() || ASMIsViaCentaurCpu() ?
     967                                           &g_apszVTxExitReasons[0] : &g_apszAmdVExitReasons[0];
    967968            for (int j = 0; j < MAX_EXITREASON_STAT; j++)
    968969            {
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