VirtualBox

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


Ignore:
Timestamp:
Oct 21, 2013 3:14:54 PM (11 years ago)
Author:
vboxsync
Message:

updates

File:
1 edited

Legend:

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

    r49026 r49215  
    817817VMMR0DECL(void) VMMR0EntryFast(PVM pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation)
    818818{
     819    /*
     820     * Validation.
     821     */
    819822    if (RT_UNLIKELY(idCpu >= pVM->cCpus))
    820823        return;
    821824    PVMCPU pVCpu = &pVM->aCpus[idCpu];
    822 
     825    if (RT_UNLIKELY(pVCpu->hNativeThreadR0 != RTThreadNativeSelf()))
     826        return;
     827
     828    /*
     829     * Perform requested operation.
     830     */
    823831    switch (enmOperation)
    824832    {
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