mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 18:23:57 -06:00
qemu-iotests: Add -o and make v3 the default for qcow2
This adds an -o option to qemu-iotests, which is an option string that is passed through to qemu-img create -o... This allows testing different subformat with a command like './check -qcow2 -o compat=0.10'. For qcow2, if no compat option is specified, compat=1.1 is the new default. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
621f058940
commit
8900436891
3 changed files with 52 additions and 5 deletions
|
@ -41,9 +41,6 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# we need common
|
||||
. ./common
|
||||
|
||||
# we need common.rc
|
||||
if ! . ./common.rc
|
||||
then
|
||||
|
@ -51,6 +48,9 @@ then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# we need common
|
||||
. ./common
|
||||
|
||||
#if [ `id -u` -ne 0 ]
|
||||
#then
|
||||
# echo "check: QA must be run as root"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue