summaryrefslogtreecommitdiff
path: root/hw/virtio-blk.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-blk.h')
-rw-r--r--hw/virtio-blk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h
index 5645d2bf3c..244dce45aa 100644
--- a/hw/virtio-blk.h
+++ b/hw/virtio-blk.h
@@ -49,7 +49,7 @@ struct virtio_blk_config
uint8_t alignment_offset;
uint16_t min_io_size;
uint32_t opt_io_size;
-} __attribute__((packed));
+} QEMU_PACKED;
/* These two define direction. */
#define VIRTIO_BLK_T_IN 0