Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-07 Thread Paolo Bonzini
Il 07/11/2013 12:25, Fam Zheng ha scritto: > Mirror doesn't complete automatically, so we don't need the sequence: > > 1) Pause IO on device. > 2) Start job. > 3) Send block job cancel/complete command to wire. > 4) Resume IO. > > Block stream/commit/backup need because without step 1) the job co

Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-07 Thread Fam Zheng
On 11/06/2013 08:10 PM, Paolo Bonzini wrote: Il 31/10/2013 03:18, Fam Zheng ha scritto: This patch suspends the test image IO before starting block stream job so that it doesn't complete before we could check the status. Signed-off-by: Fam Zheng --- tests/qemu-iotests/030| 10 ++-

Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-07 Thread Fam Zheng
On 11/06/2013 08:10 PM, Paolo Bonzini wrote: Il 31/10/2013 03:18, Fam Zheng ha scritto: This patch suspends the test image IO before starting block stream job so that it doesn't complete before we could check the status. Signed-off-by: Fam Zheng --- tests/qemu-iotests/030| 10 ++-

Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-06 Thread Fam Zheng
On 11/06/2013 08:03 PM, Stefan Hajnoczi wrote: On Thu, Oct 31, 2013 at 10:18:08AM +0800, Fam Zheng wrote: This patch suspends the test image IO before starting block stream job so that it doesn't complete before we could check the status. Signed-off-by: Fam Zheng --- tests/qemu-iotests/030

Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-06 Thread Paolo Bonzini
Il 31/10/2013 03:18, Fam Zheng ha scritto: > This patch suspends the test image IO before starting block stream job > so that it doesn't complete before we could check the status. > > Signed-off-by: Fam Zheng > --- > tests/qemu-iotests/030| 10 ++ > tests/qemu-iotests/iotests.py

Re: [Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-11-06 Thread Stefan Hajnoczi
On Thu, Oct 31, 2013 at 10:18:08AM +0800, Fam Zheng wrote: > This patch suspends the test image IO before starting block stream job > so that it doesn't complete before we could check the status. > > Signed-off-by: Fam Zheng > --- > tests/qemu-iotests/030| 10 ++ > tests/qemu-iot

[Qemu-devel] [PATCH v3] qemu-iotests: use blkdebug to make test deterministic

2013-10-30 Thread Fam Zheng
This patch suspends the test image IO before starting block stream job so that it doesn't complete before we could check the status. Signed-off-by: Fam Zheng --- tests/qemu-iotests/030| 10 ++ tests/qemu-iotests/iotests.py | 5 - 2 files changed, 10 insertions(+), 5 deletion