From patchwork Wed Dec 19 01:52:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Snow X-Patchwork-Id: 1015785 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 DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 43KHx50GHCz9s4s for ; Wed, 19 Dec 2018 12:53:45 +1100 (AEDT) Received: from localhost ([::1]:57225 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZR3O-0000L0-Ha for incoming@patchwork.ozlabs.org; Tue, 18 Dec 2018 20:53:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZR2V-00005X-9s for qemu-devel@nongnu.org; Tue, 18 Dec 2018 20:52:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZR2U-0004Rl-9j for qemu-devel@nongnu.org; Tue, 18 Dec 2018 20:52:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34098) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZR2O-0004Ns-Q0; Tue, 18 Dec 2018 20:52:40 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 1F73885546; Wed, 19 Dec 2018 01:52:37 +0000 (UTC) Received: from probe.redhat.com (ovpn-124-24.rdu2.redhat.com [10.10.124.24]) by smtp.corp.redhat.com (Postfix) with ESMTP id E737168875; Wed, 19 Dec 2018 01:52:31 +0000 (UTC) From: John Snow To: qemu-devel@nongnu.org, qemu-block@nongnu.org Date: Tue, 18 Dec 2018 20:52:25 -0500 Message-Id: <20181219015230.18652-1-jsnow@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 19 Dec 2018 01:52:37 +0000 (UTC) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PATCH v4 0/5] bitmaps: remove x- prefix from QMP api Part2 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 , vsementsov@virtuozzo.com, Markus Armbruster , Max Reitz , John Snow Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Add testing to test the bitmap-merge API. V4: - Removed patches 1-5 which have been staged - Rewrite qmp_log entirely, split into three patches - Pretty-printing has been extended to log() as well as qmp_log() - Adjust iotest 236 to be format generic instead of qcow2 [Vladimir] - Adjust iotest 236 to not reduplicate serialization work [Vladimir] - Many other small touchups V3: - Reworked qmp_log to pretty-print the outgoing command, too [Vladimir] - Modified test to log only bitmap information [Vladimir] - Test disable/enable transaction toggle [Eric] John Snow (5): iotests: add qmp recursive sorting function iotests: remove default filters from qmp_log iotests: change qmp_log filters to expect QMP objects only iotests: implement pretty-print for log and qmp_log iotests: add iotest 236 for testing bitmap merge tests/qemu-iotests/206 | 8 +- tests/qemu-iotests/236 | 131 ++++++++++++++++++++++ tests/qemu-iotests/236.out | 198 ++++++++++++++++++++++++++++++++++ tests/qemu-iotests/group | 1 + tests/qemu-iotests/iotests.py | 53 +++++++-- 5 files changed, 381 insertions(+), 10 deletions(-) create mode 100755 tests/qemu-iotests/236 create mode 100644 tests/qemu-iotests/236.out