Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1677600pxb; Thu, 7 Oct 2021 12:40:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjmgWx3TvZixOKfhG6RDP5bB5YHthVCkx9++JAx7p8wDKJkLSVcPC6ZkzzdVUbGMLTOCnO X-Received: by 2002:a17:902:a414:b0:13e:45cd:1939 with SMTP id p20-20020a170902a41400b0013e45cd1939mr5763916plq.54.1633635646080; Thu, 07 Oct 2021 12:40:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633635646; cv=none; d=google.com; s=arc-20160816; b=CBd+oXFoAoZm3YuBAdzkAjyTNwnbFpXKG0zNXgL/sK8fXQcez3gHJSt2SS4iNF3Nnx cMG5cVxboBTGgc6Ew+2xG35uXviIJSzqLGlMi065ogyswrG6KyMUwGB4hqvdCdIAxqTp Ysz3j2RRZSZr7rTqA41twmDjE6k26eb4oUA/o35S5huzmo5J5ljqcKWVa+YBRHrf0Vp0 IHBbCk2mYoD+Fo7k/7O4qPl3tue8JQbaajU82oJDS8K7gRoq2LKfMSym9GMlfO3b0Y0I lX8pGH+E/EtmlmjXzR7c1liU5HLlo8af0fsqYsdT78UL+OQmQBq+GJHp5DcSzfr/x37U wjEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:user-agent :references:organization:in-reply-to:subject:cc:to:from :dkim-signature; bh=1kbk2lcxg9O2Y1a76hO9mtdUGaa5nIQDze4u6D1O12E=; b=nePzzFim3QH1lask+X2Dijox+ThCm245h7mVyzYj7ODY7Uv1lsuMmA7JByFL16lthJ PRt9an+yCtUo4M0CYgDjXLN67W04bLcDHQj3nDSXbwhMWlc5wjEKRTXbvCgTyO3ZIq/u p3Q//hA+fbwHiZLAd5XAKlGOLxlVANqJMjz8+nHdxW144nNMXTNdA2XKZDsaUuUWBI7H rs3G8knxqV9yZElMuETtp89mkQl8NAj/fXHV29x6X4GZuZdjt5JVJAEp3NsmotAB0fsX N2SnpjPgutKZSZZN/6gOjHLfKCcLf8hzAdqG1ufs/Z07eydmF9iW3QG4KR5fTD/exZ58 bppA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PkHT6QrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d4si457222pfl.332.2021.10.07.12.40.33; Thu, 07 Oct 2021 12:40:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PkHT6QrR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242599AbhJGQ1R (ORCPT + 99 others); Thu, 7 Oct 2021 12:27:17 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:59067 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241716AbhJGQ1Q (ORCPT ); Thu, 7 Oct 2021 12:27:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633623922; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=1kbk2lcxg9O2Y1a76hO9mtdUGaa5nIQDze4u6D1O12E=; b=PkHT6QrRFZHi8wg+5gLEvlzDKpgeuFejFwvg0IIjD0WDxGG/a/ec+JTboWjAq1iN7GHxfd 1awDTHsp5cjn8DdTnJm1ObPpb2lPpOqPteiVDqeNMVP5qlvklUP81jdcopuojVCzuJQfBo hqp8xskq7MM+KJrbPjmVCXbgwqei6lg= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-158-SUq8qOLJPw6XCB59yiXLGA-1; Thu, 07 Oct 2021 12:25:18 -0400 X-MC-Unique: SUq8qOLJPw6XCB59yiXLGA-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9546111EB683; Thu, 7 Oct 2021 16:17:01 +0000 (UTC) Received: from localhost (unknown [10.39.193.140]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6506671B90; Thu, 7 Oct 2021 16:16:18 +0000 (UTC) From: Cornelia Huck To: Halil Pasic Cc: linux-s390@vger.kernel.org, markver@us.ibm.com, "Michael S. Tsirkin" , qemu-devel@nongnu.org, Jason Wang , linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, Xie Yongji , stefanha@redhat.com, Raphael Norwitz , Christian Borntraeger , Halil Pasic Subject: Re: [PATCH 1/1] virtio: write back F_VERSION_1 before validate In-Reply-To: <20211007175242.4b0155b8.pasic@linux.ibm.com> Organization: Red Hat GmbH References: <20211006142533.2735019-1-pasic@linux.ibm.com> <875yu9yruv.fsf@redhat.com> <20211007163255.61d95513.pasic@linux.ibm.com> <8735pczwjj.fsf@redhat.com> <20211007175242.4b0155b8.pasic@linux.ibm.com> User-Agent: Notmuch/0.32.1 (https://notmuchmail.org) Date: Thu, 07 Oct 2021 18:16:16 +0200 Message-ID: <87wnmoyfn3.fsf@redhat.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 07 2021, Halil Pasic wrote: > On Thu, 07 Oct 2021 17:25:52 +0200 > Cornelia Huck wrote: > >> On Thu, Oct 07 2021, Halil Pasic wrote: >> >> > On Thu, 07 Oct 2021 13:52:24 +0200 >> > Cornelia Huck wrote: >> > >> >> On Wed, Oct 06 2021, Halil Pasic wrote: >> >> >> >> > The virtio specification virtio-v1.1-cs01 states: "Transitional devices >> >> > MUST detect Legacy drivers by detecting that VIRTIO_F_VERSION_1 has not >> >> > been acknowledged by the driver." This is exactly what QEMU as of 6.1 >> >> > has done relying solely on VIRTIO_F_VERSION_1 for detecting that. >> >> > >> >> > However, the specification also says: "... driver MAY read (but MUST NOT >> >> > write) the device-specific configuration fields to check that it can >> >> > support the device ..." before setting FEATURES_OK. >> >> >> >> Suggest to put the citations from the spec into quotes, so that they are >> >> distinguishable from the rest of the text. >> > >> > For the record: I basically took Michael's description, the one which you >> > said you prefer, with some minor changes. >> >> Well I did look at what the text said, not the details in the formatting... >> >> > >> > This is one of the changes, which renders this a paraphrase and not a >> > quote. Michael didn't use quotation marks so I was not sure it is was >> > a word by word quote anyway. It was. But the spec depends on "During this >> > step" which does not make any sense without the context. That is why I made >> > the end of step explicit. >> >> I still think that would be nicer while using some quotation marks, even >> if you are just doing a partial quote. >> >> In the first paragraph, however, we really should mark the quote >> properly. It gave me a stop when I first read it. > > I've added in some quotation marks and ellipsis marks. Does that look > good for you? Yep, works for me.