Statistics
| Branch: | Revision:

root / tests / qemu-iotests / iotests.py @ 4115852b

History | View | Annotate | Download (6.1 kB)

# Date Author Comment
863a5d04 05/10/2012 11:32 am Paolo Bonzini

stream: fix sectors not allocated test

The test on sectors not allocated can fail if the L1/L2 tables are
not on disk yet. Allow tests to shutdown the VM early.

Signed-off-by: Paolo Bonzini <>
Signed-off-by: Kevin Wolf <>

c68b039a 05/10/2012 11:32 am Paolo Bonzini

qemu-iotests: strip spaces from qemu-img/qemu-io/qemu command lines

A trailing space is left when qemu-img has no arguments, for example if
-nocache is not used. This becomes an empty argument after split()
and causes qemu-io to fail.

Signed-off-by: Paolo Bonzini <>...

f345cfd0 02/29/2012 04:48 pm Stefan Hajnoczi

qemu-iotests: add iotests Python module

Block layer tests that involve QMP commands rather than qemu-img or
qemu-io are not well-suited for shell scripting. This patch adds a
Python module which allows tests to be written in Python instead.

The basic API is:...