Re: [PATCH 3/3] [RFC] Changes for MQ vhost

2011-03-02 Thread Michael S. Tsirkin
On Tue, Mar 01, 2011 at 09:34:35PM +0530, Krishna Kumar2 wrote: Michael S. Tsirkin m...@redhat.com wrote on 02/28/2011 03:34:23 PM: The number of vhost threads is = #txqs. Threads handle more than one txq when #txqs is more than MAX_VHOST_THREADS (4). It is this sharing that prevents

Re: [PATCH 3/3] [RFC] Changes for MQ vhost

2011-03-01 Thread Krishna Kumar2
Michael S. Tsirkin m...@redhat.com wrote on 02/28/2011 03:34:23 PM: The number of vhost threads is = #txqs. Threads handle more than one txq when #txqs is more than MAX_VHOST_THREADS (4). It is this sharing that prevents us from just reusing multiple vhost descriptors? Sorry, I didn't

[PATCH 3/3] [RFC] Changes for MQ vhost

2011-02-27 Thread Krishna Kumar
Changes for mq vhost. vhost_net_open is changed to allocate a vhost_net and return. The remaining initializations are delayed till SET_OWNER. SET_OWNER is changed so that the argument is used to determine how many txqs to use. Unmodified qemu's will pass NULL, so this is recognized and handled