]> git.ipfire.org Git - thirdparty/qemu.git/commit
tests/qtest/virtio-ccw: Fix device presence checking
authorSamuel Tardieu <sam@rfc1149.net>
Sat, 6 Jan 2024 13:01:21 +0000 (14:01 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 13 Jan 2024 08:18:43 +0000 (11:18 +0300)
commitf62b55da87bf3278e4ef5c8c8696e2179498d37a
tree7db465c6928da975ece5a3a4905c9eef2e6b9a15
parent074b769c0bd48d19268ae3714202e320e9a31faa
tests/qtest/virtio-ccw: Fix device presence checking

An apparent copy-paste error tests for the presence of the
virtio-rng-ccw device in order to perform tests on the virtio-scsi-ccw
device.

Signed-off-by: Samuel Tardieu <sam@rfc1149.net>
Message-ID: <20240106130121.1244993-1-sam@rfc1149.net>
Fixes: 65331bf5d1 ("tests/qtest: Check for virtio-ccw devices before using them")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit c98873ee4a0c2694aac976ab9affcf55da8b7e61)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qtest/virtio-ccw-test.c