Re: [Qemu-devel] [PATCH 2/4] libvhost-user: support many virtqueues

2019-06-21 Thread Stefan Hajnoczi
On Fri, Jun 21, 2019 at 03:48:36PM +0200, Marc-André Lureau wrote: > On Fri, Jun 21, 2019 at 11:40 AM Stefan Hajnoczi wrote: > > diff --git a/contrib/vhost-user-blk/vhost-user-blk.c > > b/contrib/vhost-user-blk/vhost-user-blk.c > > index 86a3987744..ae61034656 100644 > > --- a/contrib/vhost-user-

Re: [Qemu-devel] [PATCH 2/4] libvhost-user: support many virtqueues

2019-06-21 Thread Marc-André Lureau
Hi On Fri, Jun 21, 2019 at 11:40 AM Stefan Hajnoczi wrote: > > Currently libvhost-user is hardcoded to at most 8 virtqueues. The > device backend should decide the number of virtqueues, not > libvhost-user. This is important for multiqueue device backends where > the guest driver needs an accur

[Qemu-devel] [PATCH 2/4] libvhost-user: support many virtqueues

2019-06-21 Thread Stefan Hajnoczi
Currently libvhost-user is hardcoded to at most 8 virtqueues. The device backend should decide the number of virtqueues, not libvhost-user. This is important for multiqueue device backends where the guest driver needs an accurate number of virtqueues. This change breaks libvhost-user and libvhos