From patchwork Fri Jun 15 01:42:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Xu X-Patchwork-Id: 929761 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 416NYq5qzhz9s0w for ; Fri, 15 Jun 2018 11:43:42 +1000 (AEST) Received: from localhost ([::1]:43798 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTdm6-00088K-RQ for incoming@patchwork.ozlabs.org; Thu, 14 Jun 2018 21:43:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fTdlW-000883-2U for qemu-devel@nongnu.org; Thu, 14 Jun 2018 21:43:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fTdlS-0003J1-Up for qemu-devel@nongnu.org; Thu, 14 Jun 2018 21:43:02 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:35112 helo=mx1.redhat.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fTdlS-0003Ha-QF for qemu-devel@nongnu.org; Thu, 14 Jun 2018 21:42:58 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B2ED3401CB89; Fri, 15 Jun 2018 01:42:57 +0000 (UTC) Received: from xz-mi.redhat.com (ovpn-12-17.pek2.redhat.com [10.72.12.17]) by smtp.corp.redhat.com (Postfix) with ESMTP id 935DA2023450; Fri, 15 Jun 2018 01:42:51 +0000 (UTC) From: Peter Xu To: qemu-devel@nongnu.org Date: Fri, 15 Jun 2018 09:42:43 +0800 Message-Id: <20180615014249.22730-1-peterx@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 15 Jun 2018 01:42:57 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.5]); Fri, 15 Jun 2018 01:42:57 +0000 (UTC) for IP:'10.11.54.4' DOMAIN:'int-mx04.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'peterx@redhat.com' RCPT:'' X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 66.187.233.73 Subject: [Qemu-devel] [PATCH v3 0/6] monitor: enable OOB by default 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: Kevin Wolf , Peter Maydell , Fam Zheng , Eric Auger , John Snow , peterx@redhat.com, Max Reitz , Christian Borntraeger , "Dr . David Alan Gilbert" , =?utf-8?q?Marc-Andr=C3=A9_Lureau?= , Markus Armbruster Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Patches 1-3 are new. I am not sure about patch 3; I hope current hack works for us. v3: - drop patch "tests: iotests: don't compare SHUTDOWN event", replace it with "monitor: flush qmp responses when CLOSED" to fix up the race. [Eric, Markus] - tweak the oob revert patch to not break qmp-test [Eric] - quite a few comment and commit message fix-ups [Eric] - add more comment in commit message, mention about why MUX can't be used for Out-Of-Band [Markus] - one new patch to comment on chardev CLOSED event [Stefan] - one new patch to fix iotest breakage on 060 specifically Tests: make check, iotests Please review. Thanks, Peter Xu (6): chardev: comment details for CLOSED event monitor: flush qmp responses when CLOSED tests: iotests: drop some stderr line docs: mention shared state protect for OOB monitor: remove "x-oob", turn oob on by default Revert "tests: Add parameter to qtest_init_without_qmp_handshake" docs/devel/qapi-code-gen.txt | 3 +++ include/chardev/char.h | 11 ++++++++- include/monitor/monitor.h | 1 - tests/libqtest.h | 4 +-- monitor.c | 47 ++++++++++++++++++++---------------- tests/libqtest.c | 10 +++----- tests/qmp-test.c | 6 ++--- vl.c | 5 ---- tests/qemu-iotests/060 | 10 +++++++- tests/qemu-iotests/060.out | 1 - 10 files changed, 56 insertions(+), 42 deletions(-)