tests/qtest/pvpanic: use centralized definition of supported events
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 27 May 2024 06:27:50 +0000 (08:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (17:16 -0400)
commit462dc749c110fe8e41ae0fb554b9bc2f2671e973
tree4f77948cbd9c5dffd2a5d64f77b2437c5c66f0c1
parent9b13640da3f94c0fbacbae6d23bd91febfa44588
tests/qtest/pvpanic: use centralized definition of supported events

Avoid the necessity to update all tests when new events are added
to the device.

Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Message-Id: <20240527-pvpanic-shutdown-v8-4-5a28ec02558b@t-8ch.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/qtest/pvpanic-pci-test.c
tests/qtest/pvpanic-test.c