From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43606) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr3OG-0004k8-1o for qemu-devel@nongnu.org; Tue, 27 Oct 2015 08:30:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr3OC-00057o-1i for qemu-devel@nongnu.org; Tue, 27 Oct 2015 08:30:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr3OB-00057S-TM for qemu-devel@nongnu.org; Tue, 27 Oct 2015 08:30:07 -0400 Date: Tue, 27 Oct 2015 14:30:05 +0200 From: "Michael S. Tsirkin" Message-ID: <1445948971-3929-1-git-send-email-mst@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH] fixup! virtio: introduce virtio_map List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Cornelia Huck , Igor Mammedov --- 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