hw/misc/pvpanic: add support for normal shutdowns
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 27 May 2024 06:27:51 +0000 (08:27 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Jul 2024 21:16:04 +0000 (17:16 -0400)
commit6269086b0179e3d70750672174ed7fbd29ac7eaa
treead1438aa0e574c63ae30e525f1c3b133de6b70cc
parent462dc749c110fe8e41ae0fb554b9bc2f2671e973
hw/misc/pvpanic: add support for normal shutdowns

Shutdown requests are normally hardware dependent.
By extending pvpanic to also handle shutdown requests, guests can
submit such requests with an easily implementable and cross-platform
mechanism.

Acked-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Message-Id: <20240527-pvpanic-shutdown-v8-5-5a28ec02558b@t-8ch.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/misc/pvpanic.c
include/hw/misc/pvpanic.h
include/sysemu/runstate.h
system/runstate.c