VirtualBox

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


Ignore:
Timestamp:
Nov 23, 2009 1:57:05 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
55128
Message:

Only check if hwaccm is enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/HWACCM.cpp

    r24870 r24871  
    26162616
    26172617    /* Recheck all VCPUs if we can go staight into hwaccm execution mode. */
    2618     for (VMCPUID i = 0; i < pVM->cCpus; i++)
    2619     {
    2620         PVMCPU pVCpu = &pVM->aCpus[i];
    2621 
    2622         HWACCMR3CanExecuteGuest(pVM, CPUMQueryGuestCtxPtr(pVCpu));
     2618    if (HWACCMIsEnabled(pVM))
     2619    {
     2620        for (VMCPUID i = 0; i < pVM->cCpus; i++)
     2621        {
     2622            PVMCPU pVCpu = &pVM->aCpus[i];
     2623
     2624            HWACCMR3CanExecuteGuest(pVM, CPUMQueryGuestCtxPtr(pVCpu));
     2625        }
    26232626    }
    26242627    return VINF_SUCCESS;
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