VirtualBox

Changeset 44135 in vbox


Ignore:
Timestamp:
Dec 14, 2012 2:51:03 PM (12 years ago)
Author:
vboxsync
Message:

Runtime/sg.cpp: Increase assertion limit to 32Mb as some guests might transfer more than 5MB in one S/G buffer

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/misc/sg.cpp

    r38686 r44135  
    4747    }
    4848
    49     AssertReleaseMsg(      pSgBuf->cbSegLeft <= 5 * _1M
     49    AssertReleaseMsg(      pSgBuf->cbSegLeft <= 32 * _1M
    5050                     &&    (uintptr_t)pSgBuf->pvSegCur                     >= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg
    5151                     &&    (uintptr_t)pSgBuf->pvSegCur + pSgBuf->cbSegLeft <= (uintptr_t)pSgBuf->paSegs[pSgBuf->idxSeg].pvSeg + pSgBuf->paSegs[pSgBuf->idxSeg].cbSeg,
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