From patchwork Thu Mar 28 18:28:08 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 10875691 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 06D071669 for ; Thu, 28 Mar 2019 18:31:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E4DCB28F47 for ; Thu, 28 Mar 2019 18:31:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D603A28FAA; Thu, 28 Mar 2019 18:31:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 962A428FA8 for ; Thu, 28 Mar 2019 18:31:33 +0000 (UTC) Received: from localhost ([127.0.0.1]:40398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9ZoK-0000cj-I7 for patchwork-qemu-devel@patchwork.kernel.org; Thu, 28 Mar 2019 14:31:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45440) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h9ZlG-0006T4-Qs for qemu-devel@nongnu.org; Thu, 28 Mar 2019 14:28:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h9ZlF-0004hv-WD for qemu-devel@nongnu.org; Thu, 28 Mar 2019 14:28:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:47052) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h9ZlD-0004gz-QJ; Thu, 28 Mar 2019 14:28:19 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1EE7B3073C21; Thu, 28 Mar 2019 18:28:19 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-116-148.ams2.redhat.com [10.36.116.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id AC87060C70; Thu, 28 Mar 2019 18:28:15 +0000 (UTC) From: Kevin Wolf To: qemu-block@nongnu.org Date: Thu, 28 Mar 2019 19:28:08 +0100 Message-Id: <20190328182810.21497-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 28 Mar 2019 18:28:19 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH for-4.0 0/2] file-posix: query-qemu-features for auto-read-only X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: kwolf@redhat.com, pkrempa@redhat.com, armbru@redhat.com, stefanha@redhat.com, qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP auto-read-only=on changed its behaviour in file-posix for the 4.0 release. This change cannot be detected through the usual mechanisms like schema introspection. I took Stefan's patch 'qmp: add query-qemu-capabilities', removed the feature that he originally wanted this for and addressed the review comments. The introduction of the file-posix-dynamic-auto-read-only feature is a separate patch. Stefan, I kept you as the author of the first patch and also your Signed-off-by. Is this okay with you or would you prefer a change? Kevin Wolf (1): Add file-posix-dynamic-auto-read-only feature Stefan Hajnoczi (1): qmp: Add query-qemu-features qapi/misc.json | 28 ++++++++++++++++++++++++++++ qmp.c | 11 +++++++++++ 2 files changed, 39 insertions(+) Signed-off-by: but won't be offended if either or both are removed when