Il 15/09/2014 07:23, Fam Zheng ha scritto:
> +    uint8_t           sense[SCSI_SENSE_BUF_SIZE];
> +    uint32_t          sense_len;
> +    bool              enqueued;
> +    bool              io_canceled;
> +    bool              retry;
> +    bool              dma_started;
>      SCSICommand       cmd;
>      BlockDriverAIOCB  *aiocb;
>      QEMUSGList        *sg;
> -    bool              dma_started;
> -    uint8_t sense[SCSI_SENSE_BUF_SIZE];
> -    uint32_t sense_len;
> -    bool enqueued;
> -    bool io_canceled;
> -    bool retry;
> -    void *hba_private;
>      QTAILQ_ENTRY(SCSIRequest) next;

Similar to v1, cmd is filled in by scsi_req_new and can be moved to the
uninitialized area.

Paolo

Reply via email to