From: "Michael S. Tsirkin" <mst@redhat.com>
To: qemu-devel@nongnu.org
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>,
Igor Mammedov <imammedo@redhat.com>
Subject: [Qemu-devel] [PATCH] fixup! virtio: introduce virtio_map
Date: Tue, 27 Oct 2015 14:30:05 +0200 [thread overview]
Message-ID: <1445948971-3929-1-git-send-email-mst@redhat.com> (raw)
---
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
next reply other threads:[~2015-10-27 12:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-27 12:30 Michael S. Tsirkin [this message]
2015-10-27 12:51 ` [Qemu-devel] [PATCH] fixup! virtio: introduce virtio_map Cornelia Huck
-- strict thread matches above, loose matches on Subject: below --
2015-10-27 21:00 Michael S. Tsirkin
2015-10-28 11:40 ` Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1445948971-3929-1-git-send-email-mst@redhat.com \
--to=mst@redhat.com \
--cc=cornelia.huck@de.ibm.com \
--cc=imammedo@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).