aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio/virtio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/virtio.c')
-rw-r--r--hw/virtio/virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index 74c085c74d..db90a31210 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -1089,6 +1089,7 @@ void virtio_queue_set_align(VirtIODevice *vdev, int n, int align)
* silently failing to migrate this state)
*/
assert(k->has_variable_vring_alignment);
+ (void)k;
vdev->vq[n].vring.align = align;
virtio_queue_update_rings(vdev, n);