VirtualBox

Changeset 45916 in vbox


Ignore:
Timestamp:
May 6, 2013 3:29:50 PM (12 years ago)
Author:
vboxsync
Message:

VMM/HM: Remove redundant code while loading save-state. HMR3CanExecuteGuest() is going to be called anyway before running code in HM.

File:
1 edited

Legend:

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

    r45897 r45916  
    31593159#endif
    31603160
    3161     /* Recheck all VCPUs if we can go straight into hm execution mode. */
    3162     /** @todo r=ramshankar: Not sure what this does. HMR3CanExecuteGuest() doesn't
    3163      *        have any side effects and the return value is not used at all. */
    3164     if (HMIsEnabled(pVM))
    3165     {
    3166         for (VMCPUID i = 0; i < pVM->cCpus; i++)
    3167         {
    3168             PVMCPU pVCpu = &pVM->aCpus[i];
    3169 
    3170             HMR3CanExecuteGuest(pVM, CPUMQueryGuestCtxPtr(pVCpu));
    3171         }
    3172     }
    31733161    return VINF_SUCCESS;
    31743162}
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