[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user
From: |
Marc-André Lureau |
Subject: |
Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user |
Date: |
Tue, 18 Oct 2016 11:25:21 -0400 (EDT) |
Hi Felipe
----- Original Message -----
> Hello,
>
> > On 18 Oct 2016, at 10:24, Marc-André Lureau <address@hidden>
> > wrote:
> >
> > <...>
> >
> > diff --git a/contrib/libvhost-user/libvhost-user.h
> > b/contrib/libvhost-user/libvhost-user.h
> >
> > <...>
> >
> > +#define VHOST_MAX_NR_VIRTQUEUE 8
> > +#define VIRTQUEUE_MAX_SIZE 1024
>
> I think that the maximum number of VQs should be 1024 to match Qemu's.
>
> http://git.qemu.org/?p=qemu.git;a=blob;f=include/hw/virtio/virtio.h;h=b913aac45589449bcc5d8161651332f4b0d69c7f;hb=HEAD#l55
That would make the VuDev structure quite big. We may want to set the nr of max
queues in vu_init() instead, and allocate it there. I think this is rather a
current limitation, but does not prevent iterating from there.
- [Qemu-devel] [PATCH v2 0/6] Start a contrib/libvhost-user, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 0/6] Start a contrib/libvhost-user, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 1/6] tests/vhost-user-bridge: remove false comment, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 2/6] tests/vhost-user-bridge: remove unnecessary dispatcher_remove, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 3/6] tests/vhost-user-bridge: indicate peer disconnected, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 4/6] tests/vhost-user-bridge: do not accept more than one connection, Marc-André Lureau, 2016/10/18
- [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Marc-André Lureau, 2016/10/18
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Felipe Franciosi, 2016/10/18
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Felipe Franciosi, 2016/10/18
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user,
Marc-André Lureau <=
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Felipe Franciosi, 2016/10/18
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Michael S. Tsirkin, 2016/10/27
- Re: [Qemu-devel] [PATCH v2 5/6] contrib: add libvhost-user, Felipe Franciosi, 2016/10/27
- [Qemu-devel] [PATCH v2 6/6] tests/vhost-user-bridge: use contrib/libvhost-user, Marc-André Lureau, 2016/10/18