qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] virtio: allow mapping up to max queue size


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH] virtio: allow mapping up to max queue size
Date: Tue, 13 May 2014 14:03:23 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, May 12, 2014 at 12:08:21PM +0300, Michael S. Tsirkin wrote:
> 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" <address@hidden>
> Cc: address@hidden
> Signed-off-by: Michael S. Tsirkin <address@hidden>
> ---
>  hw/virtio/virtio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Stefan Hajnoczi <address@hidden>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]