OSDN Git Service

tests/qtest: Check for the availability of virtio-ccw devices before using them
authorThomas Huth <thuth@redhat.com>
Thu, 11 May 2023 13:41:59 +0000 (15:41 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 22 May 2023 07:44:48 +0000 (09:44 +0200)
commit65331bf5d13fda151ecffe81c91fe482da15c3d5
treef9d8d8ec556819a6c4a1ce74ae1b7265aa1bc0fb
parent9a671714615e0b232059e8dcb17359722b607fc9
tests/qtest: Check for the availability of virtio-ccw devices before using them

The devices might not have been compiled into the QEMU binary, so we
have to check before we can use them.

Message-Id: <20230512124033.502654-16-thuth@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/qtest/device-plug-test.c
tests/qtest/virtio-ccw-test.c