VirtualBox

Changeset 93171 in vbox for trunk


Ignore:
Timestamp:
Jan 11, 2022 12:59:10 AM (3 years ago)
Author:
vboxsync
Message:

VMM/PGMPhys: Don't assert on NIL ring-0 address in NEM mode. bugref:10122 bugref:10138

File:
1 edited

Legend:

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

    r93115 r93171  
    17001700    if (RT_SUCCESS(rc))
    17011701    {
    1702         Assert(R0PtrChunk != NIL_RTR0PTR);
     1702        Assert(R0PtrChunk != NIL_RTR0PTR || PGM_IS_IN_NEM_MODE(pVM));
    17031703        memset(pvChunk, 0, cChunkPages << PAGE_SHIFT);
    17041704
     
    27972797            AssertLogRelMsgRCBreakStmt(rc, ("rc=%Rrc, cChunkPages=%#zx\n", rc, cChunkPages), RTMemTmpFree(paChunkPages));
    27982798
    2799             Assert(R0PtrChunk != NIL_RTR0PTR);
     2799            Assert(R0PtrChunk != NIL_RTR0PTR || PGM_IS_IN_NEM_MODE(pVM));
    28002800            memset(pvChunk, 0, cChunkPages << PAGE_SHIFT);
    28012801
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