History | View | Annotate | Download (6.1 kB)
stream: fix sectors not allocated test
The test on sectors not allocated can fail if the L1/L2 tables arenot on disk yet. Allow tests to shutdown the VM early.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
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 <pbonzini@redhat.com>...
qemu-iotests: add iotests Python module
Block layer tests that involve QMP commands rather than qemu-img orqemu-io are not well-suited for shell scripting. This patch adds aPython module which allows tests to be written in Python instead.
The basic API is:...