summaryrefslogtreecommitdiffstats
path: root/qemu/include/hw/virtio/virtio-serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'qemu/include/hw/virtio/virtio-serial.h')
-rw-r--r--qemu/include/hw/virtio/virtio-serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu/include/hw/virtio/virtio-serial.h b/qemu/include/hw/virtio/virtio-serial.h
index 527d0bf62..12a55a19e 100644
--- a/qemu/include/hw/virtio/virtio-serial.h
+++ b/qemu/include/hw/virtio/virtio-serial.h
@@ -122,7 +122,7 @@ struct VirtIOSerialPort {
* element popped and continue consuming it once the backend
* becomes writable again.
*/
- VirtQueueElement elem;
+ VirtQueueElement *elem;
/*
* The index and the offset into the iov buffer that was popped in