Received: from eggs.gnu.org ([2001:4830:134:3::10]:33872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO7I-0000xC-Pe for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaO7B-0002iL-JK for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:48 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:36671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaO7B-0002hu-9r for qemu-devel@nongnu.org; Fri, 11 Sep 2015 09:11:41 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 11 Sep 2015 14:11:40 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id B04471B08061 for ; Fri, 11 Sep 2015 14:13:15 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t8BDBaft34209810 for ; Fri, 11 Sep 2015 13:11:36 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t8BDBZkV010484 for ; Fri, 11 Sep 2015 07:11:36 -0600 Date: Fri, 11 Sep 2015 15:11:34 +0200 From: Cornelia Huck Message-ID: <20150911151134.59ff75de.cornelia.huck@de.ibm.com> In-Reply-To: <1441356869-57861-5-git-send-email-cornelia.huck@de.ibm.com> References: <1441356869-57861-1-git-send-email-cornelia.huck@de.ibm.com> <1441356869-57861-5-git-send-email-cornelia.huck@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 4/4] virtio-ccw: enable virtio-1 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: borntraeger@de.ibm.com, jasowang@redhat.com, mst@redhat.com On Fri, 4 Sep 2015 10:54:29 +0200 Cornelia Huck wrote: > Let's enable revision 1 for virtio-ccw devices. We can always offer > VERSION_1 as drivers in legacy mode won't be able to see it anyway. > > We have to introduce a way to set a lower maximum revision for a device > to accommodate the following cases: > - compat machines (to enforce legacy only) > - virtio-blk with scsi support (version 1 + scsi is fenced by common > code, with a user-configured max revision of 0 we can allow scsi > via not offering VERSION_1) > > Signed-off-by: Cornelia Huck > --- > hw/s390x/s390-virtio-ccw.c | 4 ++++ > hw/s390x/virtio-ccw.c | 30 ++++++++++++++++++++++++++++-- > hw/s390x/virtio-ccw.h | 6 ++++-- > 3 files changed, 36 insertions(+), 4 deletions(-) Scratch this; stale patch with broken compat handling. I'll send a v2 of the whole series.