VirtualBox

Changeset 72606 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Jun 18, 2018 7:03:15 PM (7 years ago)
Author:
vboxsync
Message:

HMVMXR0.cpp,EM: Code for optimizing I/O port, MMIO and CPUID exits (currently disabled by default). bugref:9198

Location:
trunk/src/VBox/VMM/VMMR3
Files:
2 edited

Legend:

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

    r72582 r72606  
    150150
    151151    /**
    152      * @cfgm{/EM/ExitOptimizationEnabled, bool, true}
     152     * @cfgm{/EM/ExitOptimizationEnabled, bool, true for NEM otherwise false}
    153153     * Whether to try correlate exit history, detect hot spots and try optimize
    154154     * these using IEM if there are other exits close by.
     155     * @todo enable for HM too.
    155156     */
    156157    bool fExitOptimizationEnabled = true;
    157     rc = CFGMR3QueryBoolDef(pCfgEM, "ExitOptimizationEnabled", &fExitOptimizationEnabled, true);
     158    rc = CFGMR3QueryBoolDef(pCfgEM, "ExitOptimizationEnabled", &fExitOptimizationEnabled, VM_IS_NEM_ENABLED(pVM));
    158159    AssertLogRelRCReturn(rc, rc);
     160
    159161    for (VMCPUID i = 0; i < pVM->cCpus; i++)
    160162        pVM->aCpus[i].em.s.fExitOptimizationEnabled = fExitOptimizationEnabled;
  • trunk/src/VBox/VMM/VMMR3/EMR3Dbg.cpp

    r72566 r72606  
    8787        case EMEXITTYPE_IO_PORT_STR_READ:   return "I/O port string read";
    8888        case EMEXITTYPE_IO_PORT_STR_WRITE:  return "I/O port string write";
     89        case EMEXITTYPE_MMIO:               return "MMIO access";
    8990        case EMEXITTYPE_MMIO_READ:          return "MMIO read";
    9091        case EMEXITTYPE_MMIO_WRITE:         return "MMIO write";
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