]> git.proxmox.com Git - mirror_qemu.git/commit
acpi/ged: fix reset cause
authorGerd Hoffmann <kraxel@redhat.com>
Thu, 24 Jun 2021 11:00:56 +0000 (13:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sat, 3 Jul 2021 07:12:35 +0000 (03:12 -0400)
commitee80f5ba22c660453c012a92c766f13498fd6a09
treef6aa44230430c69efcd9955daad31cc423e9c981
parent40f23e4e52f6188036062abea432560e5cdd239a
acpi/ged: fix reset cause

Reset requests should use SHUTDOWN_CAUSE_GUEST_RESET not
SHUTDOWN_CAUSE_GUEST_SHUTDOWN.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Message-Id: <20210624110057.2398779-1-kraxel@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/generic_event_device.c