tests/qemu-iotests: Update tests to recent desugarized -accel option

Commit 6f6e1698a6 desugarized "-machine accel=" to a list
of "-accel" options. Since now "-machine accel" and "-accel"
became incompatible, update the iotests to the new format.

Error reported here:
385801004 (L3400)

Reported-by: GitLab CI
Fixes: 6f6e1698a6 (vl: configure accelerators from -accel options)
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200106130951.29873-1-philmd@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
This commit is contained in:
Philippe Mathieu-Daudé 2020-01-06 14:09:51 +01:00 committed by Max Reitz
parent 19959445f5
commit 75ab574b4c
2 changed files with 4 additions and 4 deletions

View file

@ -587,13 +587,13 @@ export QEMU_PROG="$(type -p "$QEMU_PROG")"
case "$QEMU_PROG" in
*qemu-system-arm|*qemu-system-aarch64)
export QEMU_OPTIONS="-nodefaults -display none -machine virt,accel=qtest"
export QEMU_OPTIONS="-nodefaults -display none -machine virt -accel qtest"
;;
*qemu-system-tricore)
export QEMU_OPTIONS="-nodefaults -display none -machine tricore_testboard,accel=qtest"
export QEMU_OPTIONS="-nodefaults -display none -machine tricore_testboard -accel qtest"
;;
*)
export QEMU_OPTIONS="-nodefaults -display none -machine accel=qtest"
export QEMU_OPTIONS="-nodefaults -display none -accel qtest"
;;
esac