From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj4jU-0005V0-N9 for qemu-devel@nongnu.org; Fri, 17 Apr 2015 07:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yj4jQ-0007Eu-Mb for qemu-devel@nongnu.org; Fri, 17 Apr 2015 07:46:52 -0400 Received: from e06smtp10.uk.ibm.com ([195.75.94.106]:47934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yj4jQ-0007En-Ct for qemu-devel@nongnu.org; Fri, 17 Apr 2015 07:46:48 -0400 Received: from /spool/local by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 17 Apr 2015 12:46:47 +0100 Received: from b06cxnps4076.portsmouth.uk.ibm.com (d06relay13.portsmouth.uk.ibm.com [9.149.109.198]) by d06dlp01.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8E09717D8056 for ; Fri, 17 Apr 2015 12:47:22 +0100 (BST) Received: from d06av10.portsmouth.uk.ibm.com (d06av10.portsmouth.uk.ibm.com [9.149.37.251]) by b06cxnps4076.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t3HBkj8L8716720 for ; Fri, 17 Apr 2015 11:46:45 GMT Received: from d06av10.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av10.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t3HBkjKu002890 for ; Fri, 17 Apr 2015 05:46:45 -0600 Date: Fri, 17 Apr 2015 13:46:43 +0200 From: Cornelia Huck Message-ID: <20150417134643.00d7f398.cornelia.huck@de.ibm.com> In-Reply-To: <1429246120-29439-10-git-send-email-jasowang@redhat.com> References: <1429246120-29439-1-git-send-email-jasowang@redhat.com> <1429246120-29439-10-git-send-email-jasowang@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v6 09/16] virtio-ccw: introduce ccw specific queue limit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jason Wang Cc: Alexander Graf , Richard Henderson , qemu-devel@nongnu.org, Christian Borntraeger , mst@redhat.com On Fri, 17 Apr 2015 12:48:33 +0800 Jason Wang wrote: > Instead of depending on marco, using a bus specific limit. Also make > it clear that the number of gsis per I/O adapter is not directly > depending on the number of virtio queues, but rather the other way > around. > > Cc: Alexander Graf > Cc: Cornelia Huck > Cc: Christian Borntraeger > Cc: Richard Henderson > Signed-off-by: Jason Wang > --- > hw/s390x/s390-virtio-ccw.c | 7 +++++-- > hw/s390x/virtio-ccw.c | 19 ++++++++++++------- > include/hw/s390x/s390_flic.h | 4 +++- > 3 files changed, 20 insertions(+), 10 deletions(-) > > diff --git a/hw/s390x/virtio-ccw.c b/hw/s390x/virtio-ccw.c > index 590eed5..f197ef8 100644 > --- a/hw/s390x/virtio-ccw.c > +++ b/hw/s390x/virtio-ccw.c (...) You seem to have missed the case in virtio_ccw_cb (READ_VQ_CONF)?