VirtualBox

Ignore:
Timestamp:
Oct 12, 2021 12:21:10 PM (3 years ago)
Author:
vboxsync
Message:

VMM/NEM: Added some more #ifdef'ing to reduce the amount of ioctl probing to what we actually need. bugref:10118

File:
1 edited

Legend:

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

    r91676 r91688  
    808808    AssertRCReturn(rc, rc);
    809809    SUPR0Printf("NEMR0InitVMPart2\n"); LogRel(("2: NEMR0InitVMPart2\n"));
     810#ifdef NEM_WIN_WITH_RING0_RUNLOOP
    810811    Assert(pGVM->nemr0.s.fMayUseRing0Runloop == false);
     812#endif
    811813
    812814    /*
     
    825827    pGVM->nemr0.s.IoCtlGetPartitionProperty = Copy;
    826828
     829#ifdef NEM_WIN_WITH_RING0_RUNLOOP
    827830    pGVM->nemr0.s.fMayUseRing0Runloop = pGVM->nem.s.fUseRing0Runloop;
    828831
     
    855858    if (RT_SUCCESS(rc))
    856859        pGVM->nemr0.s.IoCtlMessageSlotHandleAndGetNext = Copy;
     860#endif
    857861
    858862    if (   RT_SUCCESS(rc)
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