xref: /openbmc/qemu/include/hw/scsi/emulation.h (revision 293c76cb)
1 #ifndef HW_SCSI_EMULATION_H
2 #define HW_SCSI_EMULATION_H
3 
4 typedef struct SCSIBlockLimits {
5     bool wsnz;
6     uint16_t min_io_size;
7     uint32_t max_unmap_descr;
8     uint32_t opt_io_size;
9     uint32_t max_unmap_sectors;
10     uint32_t unmap_sectors;
11     uint32_t max_io_sectors;
12 } SCSIBlockLimits;
13 
14 int scsi_emulate_block_limits(uint8_t *outbuf, const SCSIBlockLimits *bl);
15 
16 #endif
17