diff options
| author | Michael S. Tsirkin | 2014-05-12 11:04:20 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-05-12 11:07:21 +0200 |
| commit | 937251408051e0489f78e4db3c92e045b147b38b (patch) | |
| tree | 45cab79b85deef399ccc216012fdb5a2dc44aeef /scripts/switch-timer-api | |
| parent | Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (diff) | |
| download | qemu-937251408051e0489f78e4db3c92e045b147b38b.tar.gz qemu-937251408051e0489f78e4db3c92e045b147b38b.tar.xz qemu-937251408051e0489f78e4db3c92e045b147b38b.zip | |
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.
Reported-by: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
Cc: qemu-stable@nongnu.org
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
