debian-forge-composer/cmd/osbuild-image-tests
Ondřej Budai 0c354e34e4 test/image: fix qemu args on qemu>=4.2
Running qemu with -accel accel= results in the following error:

qemu-system-x86_64: -accel accel=kvm:hvf:tcg: Don't use ':' with -accel,
use -M accel=... for now instead

Qemu 4.2 deprecated the -accel accel= argument. When the arg is passed in,
qemu exists status code of 1.

This commit changes the qemu command to use the recommended way of specifying
the acceleration options.

See:
3d5e90a50b
2020-05-04 10:12:56 +02:00
..
azuretest tests/image: boot the vhd images on Azure 2020-04-27 20:34:20 +02:00
constants tests/image: boot the vhd images on Azure 2020-04-27 20:34:20 +02:00
aws.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
context-managers.go test/image: fix qemu args on qemu>=4.2 2020-05-04 10:12:56 +02:00
helpers.go tests/image/ami: test ami images on AWS 2020-04-06 16:38:28 +02:00
main_test.go tests/image: boot the vhd images on Azure 2020-04-27 20:34:20 +02:00
netns.go osbuild-image-tests: add missing build constraints 2020-03-22 13:50:28 +01:00