VirtualBox

Changeset 59539 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 1, 2016 11:52:58 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
105333
Message:

Storage/DrvVD: Add methods to PDMIMEDIAEX for saving the request state of suspended requests. Required for making saving/restoring the VM state work when the user saved a VM state after it got suspended due to a recoverable I/O error

File:
1 edited

Legend:

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

    r59538 r59539  
    875875                                                           PPDMMEDIAEXIOREQ phIoReqNext, void **ppvIoReqAllocNext));
    876876
     877    /**
     878     * Saves the given I/O request state in the provided saved state unit.
     879     *
     880     * @returns VBox status code.
     881     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     882     * @param   pSSM            The SSM handle.
     883     * @param   hIoReq          The request handle to save.
     884     */
     885    DECLR3CALLBACKMEMBER(int, pfnIoReqSuspendedSave, (PPDMIMEDIAEX pInterface, PSSMHANDLE pSSM, PDMMEDIAEXIOREQ hIoReq));
     886
     887    /**
     888     * Load a suspended request state from the given saved state unit and link it into the suspended list.
     889     *
     890     * @returns VBox status code.
     891     * @param   pInterface      Pointer to the interface structure containing the called function pointer.
     892     * @param   pSSM            The SSM handle to read the state from.
     893     * @param   hIoReq          The request handle to load the state into.
     894     */
     895    DECLR3CALLBACKMEMBER(int, pfnIoReqSuspendedLoad, (PPDMIMEDIAEX pInterface, PSSMHANDLE pSSM, PDMMEDIAEXIOREQ hIoReq));
     896
    877897} PDMIMEDIAEX;
    878898/** PDMIMEDIAEX interface ID. */
    879 #define PDMIMEDIAEX_IID                      "a1eee1a8-cf51-43ed-a528-9f678a1b2224"
     899#define PDMIMEDIAEX_IID                      "8856ba6a-773b-40ce-92a2-431cd06e678e"
    880900
    881901/**
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