VirtualBox

Changeset 53148 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Oct 26, 2014 6:03:09 PM (10 years ago)
Author:
vboxsync
Message:

Port a part of r95116 (disk encryption changes in 4.3) which was forgotten to trunk. Fixes starting a VM with an encrypted VHD image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmifs.h

    r52023 r53148  
    10311031
    10321032    /**
     1033     * Read bits - version for DevPcBios.
     1034     *
     1035     * @returns VBox status code.
     1036     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1037     * @param   off             Offset to start reading from. The offset must be aligned to a sector boundary.
     1038     * @param   pvBuf           Where to store the read bits.
     1039     * @param   cbRead          Number of bytes to read. Must be aligned to a sector boundary.
     1040     * @thread  Any thread.
     1041     *
     1042     * @note: Special version of pfnRead which doesn't try to suspend the VM when the DEKs for encrypted disks
     1043     *        are missing but just returns an error.
     1044     */
     1045    DECLR3CALLBACKMEMBER(int, pfnReadPcBios,(PPDMIBLOCK pInterface, uint64_t off, void *pvBuf, size_t cbRead));
     1046
     1047    /**
    10331048     * Write bits.
    10341049     *
     
    13661381     */
    13671382    DECLR3CALLBACKMEMBER(int, pfnRead,(PPDMIMEDIA pInterface, uint64_t off, void *pvBuf, size_t cbRead));
     1383
     1384    /**
     1385     * Read bits - version for DevPcBios.
     1386     *
     1387     * @returns VBox status code.
     1388     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     1389     * @param   off             Offset to start reading from. The offset must be aligned to a sector boundary.
     1390     * @param   pvBuf           Where to store the read bits.
     1391     * @param   cbRead          Number of bytes to read. Must be aligned to a sector boundary.
     1392     * @thread  Any thread.
     1393     *
     1394     * @note: Special version of pfnRead which doesn't try to suspend the VM when the DEKs for encrypted disks
     1395     *        are missing but just returns an error.
     1396     */
     1397    DECLR3CALLBACKMEMBER(int, pfnReadPcBios,(PPDMIMEDIA pInterface, uint64_t off, void *pvBuf, size_t cbRead));
    13681398
    13691399    /**
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