summary refs log tree commit diff stats
path: root/hw/virtio-blk.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-blk.h')
-rw-r--r--hw/virtio-blk.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h
index 70564a188a..d7850012bd 100644
--- a/hw/virtio-blk.h
+++ b/hw/virtio-blk.h
@@ -101,15 +101,10 @@ struct VirtIOBlkConf
 {
     BlockConf conf;
     char *serial;
+    uint32_t scsi;
 };
 
-#ifdef __linux__
-#define DEFINE_VIRTIO_BLK_FEATURES(_state, _field) \
-        DEFINE_VIRTIO_COMMON_FEATURES(_state, _field), \
-        DEFINE_PROP_BIT("scsi", _state, _field, VIRTIO_BLK_F_SCSI, true)
-#else
 #define DEFINE_VIRTIO_BLK_FEATURES(_state, _field) \
         DEFINE_VIRTIO_COMMON_FEATURES(_state, _field)
-#endif
 
 #endif