VirtualBox

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


Ignore:
Timestamp:
Dec 2, 2021 12:42:20 PM (3 years ago)
Author:
vboxsync
Message:

VMM/NEM-linux: Moved the nemR3LnxFixThreadPoke rendezvous call down to ring-3 init completition as NEMR3Init is too early. bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-linux.cpp

    r92626 r92701  
    571571
    572572                    /*
    573                      * Make RTThreadPoke work again (disabled for avoiding unnecessary
    574                      * critical section issues in ring-0).
    575                      */
    576                     VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ALL_AT_ONCE, nemR3LnxFixThreadPoke, NULL);
    577 
    578                     /*
    579573                     * Success.
    580574                     */
     
    675669int nemR3NativeInitCompleted(PVM pVM, VMINITCOMPLETED enmWhat)
    676670{
     671    /*
     672     * Make RTThreadPoke work again (disabled for avoiding unnecessary
     673     * critical section issues in ring-0).
     674     */
     675    if (enmWhat == VMINITCOMPLETED_RING3)
     676        VMMR3EmtRendezvous(pVM, VMMEMTRENDEZVOUS_FLAGS_TYPE_ALL_AT_ONCE, nemR3LnxFixThreadPoke, NULL);
     677
    677678    /*
    678679     * Configure CPUIDs after ring-3 init has been done.
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