qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] fixup! virtio: introduce virtio_map


From: Michael S. Tsirkin
Subject: [Qemu-devel] [PATCH] fixup! virtio: introduce virtio_map
Date: Tue, 27 Oct 2015 14:30:05 +0200

---

This will fix the issue reported by Cornelia.

 hw/virtio/virtio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c
index be32145..ed1f274 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -449,7 +449,7 @@ int virtqueue_avail_bytes(VirtQueue *vq, unsigned int 
in_bytes,
 }
 
 static void virtqueue_map_iovec(struct iovec *sg, hwaddr *addr,
-                                size_t *num_sg, size_t max_size,
+                                unsigned int *num_sg, unsigned int max_size,
                                 int is_write)
 {
     unsigned int i;
-- 
MST



reply via email to

[Prev in Thread] Current Thread [Next in Thread]