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