Revision aa659be3 hw/virtio-blk.h

b/hw/virtio-blk.h
31 31
#define VIRTIO_BLK_F_BLK_SIZE   6       /* Block size of disk is available*/
32 32
#define VIRTIO_BLK_F_SCSI       7       /* Supports scsi command passthru */
33 33
#define VIRTIO_BLK_F_IDENTIFY   8       /* ATA IDENTIFY supported */
34
#define VIRTIO_BLK_F_WCACHE     9       /* write cache enabled */
34 35

  
35 36
#define VIRTIO_BLK_ID_LEN       256     /* length of identify u16 array */
36 37
#define VIRTIO_BLK_ID_SN        10      /* start of char * serial# */
......
55 56
/* This bit says it's a scsi command, not an actual read or write. */
56 57
#define VIRTIO_BLK_T_SCSI_CMD   2
57 58

  
59
/* Flush the volatile write cache */
60
#define VIRTIO_BLK_T_FLUSH      4
61

  
58 62
/* Barrier before this op. */
59 63
#define VIRTIO_BLK_T_BARRIER    0x80000000
60 64

  

Also available in: Unified diff