Received: from eggs.gnu.org ([2001:4830:134:3::10]:43920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSM4f-0000Al-Ts for qemu-devel@nongnu.org; Mon, 02 Mar 2015 03:51:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSM4b-0007fS-TD for qemu-devel@nongnu.org; Mon, 02 Mar 2015 03:51:37 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:60338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSM4b-0007f1-KE for qemu-devel@nongnu.org; Mon, 02 Mar 2015 03:51:33 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 2 Mar 2015 08:51:30 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 950B11B0805F for ; Mon, 2 Mar 2015 08:51:45 +0000 (GMT) Received: from d06av07.portsmouth.uk.ibm.com (d06av07.portsmouth.uk.ibm.com [9.149.37.248]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t228pS0T8782314 for ; Mon, 2 Mar 2015 08:51:28 GMT Received: from d06av07.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av07.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t228pSIe006029 for ; Mon, 2 Mar 2015 03:51:28 -0500 Date: Mon, 2 Mar 2015 09:51:24 +0100 From: Cornelia Huck Message-ID: <20150302095124.37e62488.cornelia.huck@de.ibm.com> In-Reply-To: <1425094281.4539.2@smtp.corp.redhat.com> References: <1424934286-7099-1-git-send-email-jasowang@redhat.com> <1424934286-7099-7-git-send-email-jasowang@redhat.com> <20150226140506.5ae9a13d.cornelia.huck@de.ibm.com> <1425018897.3834.6@smtp.corp.redhat.com> <20150227104954.09e513db.cornelia.huck@de.ibm.com> <1425094281.4539.2@smtp.corp.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V2 06/11] virtio-s390: switch to bus specific queue limit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: qemu-devel@nongnu.org, Christian Borntraeger , mst@redhat.com, Alexander Graf , Richard Henderson On Sat, 28 Feb 2015 11:31:21 +0800 Jason Wang wrote: > > > On Fri, Feb 27, 2015 at 5:49 PM, Cornelia Huck > wrote: > > On Fri, 27 Feb 2015 06:42:57 +0008 > > Jason Wang wrote: > > > >> On Thu, Feb 26, 2015 at 9:05 PM, Cornelia Huck > >> wrote: > >> > On Thu, 26 Feb 2015 15:04:41 +0800 > >> > Jason Wang wrote: > >> > > > > >> >> typedef struct AdapterRoutes { > >> >> AdapterInfo adapter; > >> >> int num_routes; > >> >> - int gsi[VIRTIO_PCI_QUEUE_MAX]; > >> >> + int gsi[VIRTIO_S390_QUEUE_MAX]; > >> > > >> > Adapter routes are only applicable for the ccw transport, not for > >> the > >> > old s390 transport. > >> > >> Sure, will fix this. > >> > >> > > >> > > >> > (I'm also wondering whether this should be the generic limit > >> instead.) > >> > >> As you pointed out in V1, there will be more issues if we just > >> increase > >> the generic limit. So I switch to use per transport limit. Since > >> the > >> limit was not changed for both s390 and ccw, it should be ok. > > > > I'm just wondering how many gsis we want to support for adapter > > routes. > > They were introduced for virtio-ccw, but recently s390 pci has started > > to use them as well, so a virtio limit seems silly here. I'll switch > > them to some kind of generic limit instead, I think. > > Get your point. My understanding is you can do this on top of this > series. Yup, that will work.