tests/qtest/pvpanic: add tests for pvshutdown event
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 27 May 2024 06:27:53 +0000 (08:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (17:16 -0400)
commitb279c3c88da3e8a301e4436fcdf233c0838ed4bc
tree0d4f841bbf1664837473ddc142cad1146dfe25e3
parent8db1f7be788b23f8eca189fe4546298ed387e9cb
tests/qtest/pvpanic: add tests for pvshutdown event

Validate that a shutdown via the pvpanic device emits the correct
QMP events.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20240527-pvpanic-shutdown-v8-7-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