Maxim Uvarov e3bcf57c1a hw/gpio/gpio_pwr: use shutdown function for reboot
qemu has 2 type of functions: shutdown and reboot. Shutdown
function has to be used for machine shutdown. Otherwise we cause
a reset with a bogus "cause" value, when we intended a shutdown.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20210625111842.3790-3-maxim.uvarov@linaro.org
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2021-07-02 11:48:36 +01:00
..
2021-06-30 21:09:27 +01:00
2021-06-28 21:04:22 +01:00
2021-06-04 13:38:49 +01:00
2021-06-21 08:48:21 +02:00
2021-05-05 13:52:00 +01:00
2021-06-21 08:48:21 +02:00
2020-08-21 06:30:33 -04:00