summaryrefslogtreecommitdiff
path: root/hw/virtio-serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio-serial.h')
-rw-r--r--hw/virtio-serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio-serial.h b/hw/virtio-serial.h
index 36e9d222e5..ab138038c0 100644
--- a/hw/virtio-serial.h
+++ b/hw/virtio-serial.h
@@ -37,7 +37,7 @@ struct virtio_console_config {
uint16_t rows;
uint32_t max_nr_ports;
-} __attribute__((packed));
+} QEMU_PACKED;
struct virtio_console_control {
uint32_t id; /* Port number */