* [Qemu-devel] [PULL 0/1] virtio update
@ 2014-05-14 3:53 Michael S. Tsirkin
2014-05-14 3:53 ` [Qemu-devel] [PULL 1/1] virtio: allow mapping up to max queue size Michael S. Tsirkin
2014-05-15 16:32 ` [Qemu-devel] [PULL 0/1] virtio update Peter Maydell
0 siblings, 2 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2014-05-14 3:53 UTC (permalink / raw)
To: qemu-devel; +Cc: Peter Maydell, Anthony Liguori
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
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
----------------------------------------------------------------
Michael S. Tsirkin (1):
virtio: allow mapping up to max queue size
hw/virtio/virtio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] [PULL 1/1] virtio: allow mapping up to max queue size
2014-05-14 3:53 [Qemu-devel] [PULL 0/1] virtio update Michael S. Tsirkin
@ 2014-05-14 3:53 ` Michael S. Tsirkin
2014-05-15 16:32 ` [Qemu-devel] [PULL 0/1] virtio update Peter Maydell
1 sibling, 0 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2014-05-14 3:53 UTC (permalink / raw)
To: qemu-devel
Cc: Peter Maydell, Dr. David Alan Gilbert, Anthony Liguori,
qemu-stable
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.
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
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 7f4e7ec..3557c17 100644
--- a/hw/virtio/virtio.c
+++ b/hw/virtio/virtio.c
@@ -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);
--
MST
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] virtio update
2014-05-14 3:53 [Qemu-devel] [PULL 0/1] virtio update Michael S. Tsirkin
2014-05-14 3:53 ` [Qemu-devel] [PULL 1/1] virtio: allow mapping up to max queue size Michael S. Tsirkin
@ 2014-05-15 16:32 ` Peter Maydell
2014-05-15 16:33 ` Michael S. Tsirkin
1 sibling, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2014-05-15 16:32 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: QEMU Developers, Anthony Liguori
On 14 May 2014 04:53, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> 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)
My apply-pullreq script complains:
merge: remotes/mst/for_upstream - not something we can merge
did you mean "tags/for_upstream" ?
thanks
-- PMM
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] virtio update
2014-05-15 16:32 ` [Qemu-devel] [PULL 0/1] virtio update Peter Maydell
@ 2014-05-15 16:33 ` Michael S. Tsirkin
2014-05-15 17:35 ` Peter Maydell
0 siblings, 1 reply; 6+ messages in thread
From: Michael S. Tsirkin @ 2014-05-15 16:33 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers, Anthony Liguori
On Thu, May 15, 2014 at 05:32:05PM +0100, Peter Maydell wrote:
> On 14 May 2014 04:53, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > 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)
>
> 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?
--
MST
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] virtio update
2014-05-15 16:33 ` Michael S. Tsirkin
@ 2014-05-15 17:35 ` Peter Maydell
2014-05-17 18:20 ` Michael S. Tsirkin
0 siblings, 1 reply; 6+ messages in thread
From: Peter Maydell @ 2014-05-15 17:35 UTC (permalink / raw)
To: Michael S. Tsirkin; +Cc: QEMU Developers, Anthony Liguori
On 15 May 2014 17:33, Michael S. Tsirkin <mst@redhat.com> wrote:
> On Thu, May 15, 2014 at 05:32:05PM +0100, Peter Maydell wrote:
>> On 14 May 2014 04:53, Michael S. Tsirkin <mst@redhat.com> wrote:
>> >
>> > 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)
>>
>> 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?
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] [PULL 0/1] virtio update
2014-05-15 17:35 ` Peter Maydell
@ 2014-05-17 18:20 ` Michael S. Tsirkin
0 siblings, 0 replies; 6+ messages in thread
From: Michael S. Tsirkin @ 2014-05-17 18:20 UTC (permalink / raw)
To: Peter Maydell; +Cc: QEMU Developers, Anthony Liguori
On Thu, May 15, 2014 at 06:35:05PM +0100, Peter Maydell wrote:
> On 15 May 2014 17:33, Michael S. Tsirkin <mst@redhat.com> wrote:
> > On Thu, May 15, 2014 at 05:32:05PM +0100, Peter Maydell wrote:
> >> On 14 May 2014 04:53, Michael S. Tsirkin <mst@redhat.com> wrote:
> >> >
> >> > 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)
> >>
> >> 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?
>
> 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
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.
--
MST
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-05-17 18:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-14 3:53 [Qemu-devel] [PULL 0/1] virtio update Michael S. Tsirkin
2014-05-14 3:53 ` [Qemu-devel] [PULL 1/1] virtio: allow mapping up to max queue size Michael S. Tsirkin
2014-05-15 16:32 ` [Qemu-devel] [PULL 0/1] virtio update Peter Maydell
2014-05-15 16:33 ` Michael S. Tsirkin
2014-05-15 17:35 ` Peter Maydell
2014-05-17 18:20 ` Michael S. Tsirkin
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).