VirtualBox

Changeset 68591 in vbox


Ignore:
Timestamp:
Aug 31, 2017 1:05:12 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117809
Message:

Devices/Storage/VD: Disable zero copy optimization for 4KB transfers because that breaks with encryption enabled (the plugin encrypts data in place trashing guest memory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Storage/DrvVD.cpp

    r66250 r68591  
    31133113    LogFlowFunc(("pThis=%#p pIoReq=%#p cb=%zu\n", pThis, pIoReq, cb));
    31143114
     3115/** @todo: This does not work at all with encryption enabled because the encryption plugin
     3116 *         encrypts the data in place trashing guest memory and causing data corruption later on!
     3117 *
     3118 * DO NOT ENABLE UNLESS YOU WANT YOUR DATA SHREDDED!!!
     3119 */
     3120#if 0
    31153121    if (   cb == _4K
    31163122        && pThis->pDrvMediaExPort->pfnIoReqQueryBuf)
     
    31343140        }
    31353141    }
     3142#endif
    31363143
    31373144    if (RT_FAILURE(rc))
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette