]> git.proxmox.com Git - mirror_qemu.git/commit
tests/qtest: s390x: fix operation in a build without any boards or devices
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 May 2024 17:00:36 +0000 (19:00 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 13:45:15 +0000 (15:45 +0200)
commitfa5365e8b6eff888e99f31cd65afefd3643e5d0e
tree1165ee0b97b1a68e56ef81690f4d2e78c2eba8a8
parente799b65faef129f2905bd9bf66c30aaaa7115dac
tests/qtest: s390x: fix operation in a build without any boards or devices

Do the bare minimum to ensure that at least a vanilla
--without-default-devices build works for all targets except i386,
x86_64 and ppc64.  In particular this fixes s390x-softmmu; i386 and
x86_64 have about a dozen failing tests that do not pass -M and therefore
require a default machine type; ppc64 has the same issue, though only
with numa-test.

If we can for now ignore the cases where boards and devices are picked
by hand, drive_del-test however can be fixed easily; almost all tests
check for the virtio-blk or virtio-scsi device that they use, and are
already skipped.  Only one didn't get the memo; plus another one does
not need a machine at all and can be run with -M none.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240509170044.190795-6-pbonzini@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/drive_del-test.c