VirtualBox

Changeset 32983 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Oct 7, 2010 3:14:54 PM (14 years ago)
Author:
vboxsync
Message:

LsiLogic: Suspend the VM on a recoverable error without changing the saved state format

Location:
trunk/include/VBox
Files:
3 edited

Legend:

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

    r32431 r32983  
    26392639     * @param   pSCSIRequest  Pointer to the finished SCSI request.
    26402640     * @param   rcCompletion  SCSI_STATUS_* code for the completed request.
    2641      */
    2642      DECLR3CALLBACKMEMBER(int, pfnSCSIRequestCompleted, (PPDMISCSIPORT pInterface, PPDMSCSIREQUEST pSCSIRequest, int rcCompletion));
     2641     * @param   fRedo         Flag whether the request can to be redone
     2642     *                        when it failed.
     2643     * @param   rcReq         The status code the request completed with (VERR_*)
     2644     *                        Should be only used to choose the correct error message
     2645     *                        displayed to the user if the error can be fixed by him
     2646     *                        (fRedo is true).
     2647     */
     2648     DECLR3CALLBACKMEMBER(int, pfnSCSIRequestCompleted, (PPDMISCSIPORT pInterface, PPDMSCSIREQUEST pSCSIRequest,
     2649                                                         int rcCompletion, bool fRedo, int rcReq));
    26432650
    26442651} PDMISCSIPORT;
    26452652/** PDMISCSIPORT interface ID. */
    2646 #define PDMISCSIPORT_IID                        "0f894add-714d-4a77-818e-a32fe3586ba4"
     2653#define PDMISCSIPORT_IID                        "9d185b3b-1051-41f6-83ad-2a2a23f04e40"
    26472654
    26482655
  • trunk/include/VBox/scsi.h

    r28800 r32983  
    179179/* additional sense keys */
    180180#define SCSI_ASC_NONE                               0x00
     181#define SCSI_ASC_WRITE_ERROR                        0x0c
    181182#define SCSI_ASC_READ_ERROR                         0x11
    182183#define SCSI_ASC_ILLEGAL_OPCODE                     0x20
  • trunk/include/VBox/vscsi.h

    r28800 r32983  
    135135                                               void *pvVScsiDeviceUser,
    136136                                               void *pvVScsiReqUser,
     137                                               int rcScsiCode,
     138                                               bool fRedoPossible,
    137139                                               int rcReq);
    138140/** Pointer to a virtual SCSI request completed callback. */
     
    253255 *                                  the LUN is called by the virtual SCSI layer.
    254256 * @param   rcIoReq                 The status code the I/O request completed with.
    255  */
    256 VBOXDDU_DECL(int) VSCSIIoReqCompleted(VSCSIIOREQ hVScsiIoReq, int rcIoReq);
     257 * @param   fRedoPossible           Flag whether it is possible to redo the request.
     258 *                                  If true setting any sense code will be omitted
     259 *                                  in case of an error to not alter the device state.
     260 */
     261VBOXDDU_DECL(int) VSCSIIoReqCompleted(VSCSIIOREQ hVScsiIoReq, int rcIoReq, bool fRedoPossible);
    257262
    258263/**
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