Revision 9752c371 hw/virtio-blk.h
b/hw/virtio-blk.h | ||
---|---|---|
32 | 32 |
#define VIRTIO_BLK_F_SCSI 7 /* Supports scsi command passthru */ |
33 | 33 |
/* #define VIRTIO_BLK_F_IDENTIFY 8 ATA IDENTIFY supported, DEPRECATED */ |
34 | 34 |
#define VIRTIO_BLK_F_WCACHE 9 /* write cache enabled */ |
35 |
#define VIRTIO_BLK_F_TOPOLOGY 10 /* Topology information is available */ |
|
35 | 36 |
|
36 | 37 |
struct virtio_blk_config |
37 | 38 |
{ |
... | ... | |
42 | 43 |
uint8_t heads; |
43 | 44 |
uint8_t sectors; |
44 | 45 |
uint32_t _blk_size; /* structure pad, currently unused */ |
46 |
uint8_t physical_block_exp; |
|
47 |
uint8_t alignment_offset; |
|
48 |
uint16_t min_io_size; |
|
49 |
uint32_t opt_io_size; |
|
45 | 50 |
} __attribute__((packed)); |
46 | 51 |
|
47 | 52 |
/* These two define direction. */ |
Also available in: Unified diff