Received: from eggs.gnu.org ([2001:4830:134:3::10]:42720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRY89-00021Y-Ji for qemu-devel@nongnu.org; Fri, 27 Feb 2015 22:31:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YRY84-0000PH-I9 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 22:31:53 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YRY84-0000PB-A4 for qemu-devel@nongnu.org; Fri, 27 Feb 2015 22:31:48 -0500 Date: Sat, 28 Feb 2015 11:31:21 +0800 From: Jason Wang Message-Id: <1425094281.4539.2@smtp.corp.redhat.com> In-Reply-To: <20150227104954.09e513db.cornelia.huck@de.ibm.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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed 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: Cornelia Huck Cc: qemu-devel@nongnu.org, Christian Borntraeger , mst@redhat.com, Alexander Graf , Richard Henderson 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. Thanks