Skip to contentSkip to conversation

virtio update

GIT PULL Applied Michael S. Tsirkin 2 participants 6 messages May 14, 2014 – May 17, 2014

lore
Share & tools
lore
#0 lore raw

Resending: same as previous pull request but with numbers in the subject. Sorry about the noise.

The following changes since commit 06b4f00d53637f2c16a62c2cbaa30bffb045cf88:

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-09 15:46:34 +0100)

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git for_upstream

for you to fetch changes up to 937251408051e0489f78e4db3c92e045b147b38b:

virtio: allow mapping up to max queue size (2014-05-12 12:07:21 +0300)

----------------------------------------------------------------
virtio update

looks like a quiet week
minor bugfix in virtio by myself

----------------------------------------------------------------
Michael S. Tsirkin (1):
virtio: allow mapping up to max queue size

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

[Qemu-devel] [PULL 1/1] virtio: allow mapping up to max queue size

It's a loop from i < num_sg and the array is VIRTQUEUE_MAX_SIZE - so it's OK if the value read is VIRTQUEUE_MAX_SIZE.

Not a big problem in practice as people don't use
such big queues, but it's inelegant.

---
 hw/virtio/virtio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/virtio/virtio.c +1 -1
index 7f4e7ec..3557c17 100644
@@ -430,7 +430,7 @@ void virtqueue_map_sg(struct iovec *sg, hwaddr *addr,
     unsigned int i;
     hwaddr len;
 
-    if (num_sg >= VIRTQUEUE_MAX_SIZE) {
+    if (num_sg > VIRTQUEUE_MAX_SIZE) {
         error_report("virtio: map attempt out of bounds: %zd > %d",
                      num_sg, VIRTQUEUE_MAX_SIZE);
         exit(1);
Signature · 1 line
MST
#2 lore raw
In reply to Michael S. Tsirkin
Quoted 9 lines · Michael S. Tsirkin

Resending: same as previous pull request but with numbers in the subject. Sorry about the noise.

The following changes since commit 06b4f00d53637f2c16a62c2cbaa30bffb045cf88:

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-09 15:46:34 +0100)

Quoted 8 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git for_upstream

for you to fetch changes up to 937251408051e0489f78e4db3c92e045b147b38b:

virtio: allow mapping up to max queue size (2014-05-12 12:07:21 +0300)

My apply-pullreq script complains:
merge: remotes/mst/for_upstream - not something we can merge

did you mean "tags/for_upstream" ?

thanks
-- PMM

#3 lore raw
Quoted 19 lines · Peter Maydell
Quoted 9 lines · Michael S. Tsirkin

Resending: same as previous pull request but with numbers in the subject. Sorry about the noise.

The following changes since commit 06b4f00d53637f2c16a62c2cbaa30bffb045cf88:

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-09 15:46:34 +0100)

Quoted 8 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git for_upstream

for you to fetch changes up to 937251408051e0489f78e4db3c92e045b147b38b:

virtio: allow mapping up to max queue size (2014-05-12 12:07:21 +0300)

Quoted 7 lines

My apply-pullreq script complains:
merge: remotes/mst/for_upstream - not something we can merge

did you mean "tags/for_upstream" ?

thanks
-- PMM

Yes: git used to get this right but it looks like it's broken in git master.
hashes match and it's signed properly ...
want me to resend?

Signature · 1 line
MST
#4 lore raw
Quoted 25 lines · Michael S. Tsirkin
Quoted 24 lines · Peter Maydell
Quoted 9 lines · Michael S. Tsirkin

Resending: same as previous pull request but with numbers in the subject. Sorry about the noise.

The following changes since commit 06b4f00d53637f2c16a62c2cbaa30bffb045cf88:

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-09 15:46:34 +0100)

Quoted 8 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git for_upstream

for you to fetch changes up to 937251408051e0489f78e4db3c92e045b147b38b:

virtio: allow mapping up to max queue size (2014-05-12 12:07:21 +0300)

My apply-pullreq script complains:
merge: remotes/mst/for_upstream - not something we can merge

did you mean "tags/for_upstream" ?

Quoted 7 lines
Quoted 2 lines

thanks
-- PMM

Yes: git used to get this right but it looks like it's broken in git master.
hashes match and it's signed properly ...
want me to resend?

That's OK, I just wanted to check the tag name. (I notice this kind of mismatch because I just copy-paste the url-and-branchname onto my commandline. Also if we were ever to implement some kind of automatic testing of pull-request-emails the automated script would notice :-))

Applied, thanks.

-- PMM

#5 lore raw
Quoted 40 lines · Peter Maydell
Quoted 25 lines · Michael S. Tsirkin
Quoted 24 lines · Peter Maydell
Quoted 9 lines · Michael S. Tsirkin

Resending: same as previous pull request but with numbers in the subject. Sorry about the noise.

The following changes since commit 06b4f00d53637f2c16a62c2cbaa30bffb045cf88:

Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-09 15:46:34 +0100)

Quoted 8 lines

are available in the git repository at:

git://git.kernel.org/pub/scm/virt/kvm/mst/qemu.git for_upstream

for you to fetch changes up to 937251408051e0489f78e4db3c92e045b147b38b:

virtio: allow mapping up to max queue size (2014-05-12 12:07:21 +0300)

My apply-pullreq script complains:
merge: remotes/mst/for_upstream - not something we can merge

did you mean "tags/for_upstream" ?

Quoted 7 lines
Quoted 2 lines

thanks
-- PMM

Yes: git used to get this right but it looks like it's broken in git master.
hashes match and it's signed properly ...
want me to resend?

That's OK, I just wanted to check the tag name. (I notice this kind of mismatch because I just copy-paste the url-and-branchname onto my commandline. Also if we were ever to implement some kind of automatic testing of pull-request-emails the automated script would notice :-))

Quoted 3 lines

Applied, thanks.

-- PMM

Note for git 2.0 users (once that's out): you must use tags/<name> for your pull requests, otherwise people using older clients will fail to pull from you.

Signature · 1 line
MST