diff options
Diffstat (limited to 'hw/scsi.h')
-rw-r--r-- | hw/scsi.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,7 @@ #define QEMU_HW_SCSI_H #include "qdev.h" +#include "block.h" /* scsi-disk.c */ enum scsi_reason { @@ -15,6 +16,13 @@ typedef struct SCSIDeviceInfo SCSIDeviceInfo; typedef void (*scsi_completionfn)(SCSIBus *bus, int reason, uint32_t tag, uint32_t arg); +typedef struct SCSIRequest { + SCSIBus *bus; + SCSIDevice *dev; + uint32_t tag; + BlockDriverAIOCB *aiocb; +} SCSIRequest; + struct SCSIDevice { DeviceState qdev; |