VirtualBox

Changeset 32885 in vbox for trunk/src/VBox/VMM/VMMR0


Ignore:
Timestamp:
Oct 4, 2010 12:56:35 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
66366
Message:

Renaming cpu priority to cpu execution cap

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp

    r32815 r32885  
    800800                            PVM pVM = (PVM)RTR0MemObjAddress(pGVM->gvmm.s.VMMemObj); AssertPtr(pVM);
    801801                            memset(pVM, 0, cPages << PAGE_SHIFT);
    802                             pVM->enmVMState     = VMSTATE_CREATING;
    803                             pVM->pVMR0          = pVM;
    804                             pVM->pSession       = pSession;
    805                             pVM->hSelf          = iHandle;
    806                             pVM->cbSelf         = cbVM;
    807                             pVM->cCpus          = cCpus;
    808                             pVM->uCpuPriority   = 100; /* default is maximum priority. */
    809                             pVM->offVMCPU       = RT_UOFFSETOF(VM, aCpus);
     802                            pVM->enmVMState       = VMSTATE_CREATING;
     803                            pVM->pVMR0            = pVM;
     804                            pVM->pSession         = pSession;
     805                            pVM->hSelf            = iHandle;
     806                            pVM->cbSelf           = cbVM;
     807                            pVM->cCpus            = cCpus;
     808                            pVM->uCpuExecutionCap = 100; /* default is no cap. */
     809                            pVM->offVMCPU         = RT_UOFFSETOF(VM, aCpus);
    810810
    811811                            rc = RTR0MemObjAllocPage(&pGVM->gvmm.s.VMPagesMemObj, cPages * sizeof(SUPPAGE), false /* fExecutable */);
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