Received: from eggs.gnu.org ([2001:4830:134:3::10]:48106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgswt-0006cK-CS for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:10:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgswa-0004NQ-Dm for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:10:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:39233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgswa-0004N8-5s for qemu-devel@nongnu.org; Thu, 14 Nov 2013 04:10:32 -0500 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAE9ATVJ029169 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 14 Nov 2013 04:10:29 -0500 From: Fam Zheng Date: Thu, 14 Nov 2013 17:10:16 +0800 Message-Id: <1384420220-9244-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PATCH v4 0/4] Use blkdebug to make test deterministic List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: kwolf@redhat.com, pbonzini@redhat.com, stefanha@redhat.com This adds "remove_break" command to block, which removes a break point defined with "break". It is used in iotests.py to pause and resume drive in block job cases to make the test deterministic. v4: [01] Added. [03] Add common method pair "pause_drive" and "resume_drive". [04] Also fix 040, 055. Fam Zheng (4): qemu-iotests: Drop local version of cancel_and_wait from 040 blkdebug: add "remove_break" command qemu-iotest: Add pause_drive and resume_drive methods qemu-iotests: Make test case 030, 040 and 055 deterministic block.c | 13 +++++++++++++ block/blkdebug.c | 26 ++++++++++++++++++++++++++ include/block/block.h | 1 + include/block/block_int.h | 2 ++ qemu-io-cmds.c | 22 ++++++++++++++++++++++ tests/qemu-iotests/030 | 16 +++++++++++----- tests/qemu-iotests/040 | 19 +++---------------- tests/qemu-iotests/055 | 15 +++++++++++---- tests/qemu-iotests/iotests.py | 17 ++++++++++++++++- 9 files changed, 105 insertions(+), 26 deletions(-) -- 1.8.4.2