tests/qtest: Don't run cdrom boot tests if no accelerator is present
authorFabiano Rosas <farosas@suse.de>
Mon, 8 May 2023 18:16:11 +0000 (15:16 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 12 May 2023 14:49:20 +0000 (15:49 +0100)
commitc726fa701c14f088241e2f3f89b0c25ffabeac3c
treee665cd65aa8737dacddb969a155b1c7b8f6be0be
parenta117e87212ca1da8221e4ccbdeed3bedba5dc8f3
tests/qtest: Don't run cdrom boot tests if no accelerator is present

On a build configured with: --disable-tcg --enable-xen it is possible
to produce a QEMU binary with no TCG nor KVM support. Skip the cdrom
boot tests if that's the case.

Fixes: 0c1ae3ff9d ("tests/qtest: Fix tests when no KVM or TCG are present")
Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-id: 20230508181611.2621-4-farosas@suse.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/qtest/cdrom-test.c