[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH V3 08/14] virtio-pci: switch to use bus specific
From: |
Cornelia Huck |
Subject: |
Re: [Qemu-devel] [PATCH V3 08/14] virtio-pci: switch to use bus specific queue limit |
Date: |
Fri, 6 Mar 2015 13:28:55 +0100 |
On Thu, 5 Mar 2015 13:48:45 +0800
Jason Wang <address@hidden> wrote:
> Instead of depending on a macro, switch to use a bus specific queue
> limit.
>
> Cc: Anthony Liguori <address@hidden>
> Cc: Michael S. Tsirkin <address@hidden>
> Signed-off-by: Jason Wang <address@hidden>
> ---
> hw/virtio/virtio-pci.c | 12 +++++++-----
> include/hw/virtio/virtio.h | 1 -
> 2 files changed, 7 insertions(+), 6 deletions(-)
>
> diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h
> index 04ad532..9a81edf 100644
> --- a/include/hw/virtio/virtio.h
> +++ b/include/hw/virtio/virtio.h
> @@ -92,7 +92,6 @@ typedef struct VirtQueueElement
> struct iovec out_sg[VIRTQUEUE_MAX_SIZE];
> } VirtQueueElement;
>
> -#define VIRTIO_PCI_QUEUE_MAX 64
> #define VIRTIO_CCW_QUEUE_MAX 64
This hunk makes me think that the ccw limit shouldn't have been added
here :)
>
> #define VIRTIO_NO_VECTOR 0xffff
- [Qemu-devel] [PATCH V3 04/14] virtio-ccw: introduce ccw specific queue limit, (continued)
[Qemu-devel] [PATCH V3 07/14] virtio-mmio: switch to bus specific queue limit, Jason Wang, 2015/03/05
[Qemu-devel] [PATCH V3 09/14] virtio: introduce vector to virtqueues mapping, Jason Wang, 2015/03/05
[Qemu-devel] [PATCH V3 11/14] virtio-pci: speedup MSI-X masking and unmasking, Jason Wang, 2015/03/05
[Qemu-devel] [PATCH V3 10/14] virtio: introduce virtio_queue_get_index(), Jason Wang, 2015/03/05