Peter Krempa 4ffc807214 qemu: Honor 'restart' action for 'on_poweroff'
We simply terminate qemu instead of issuing a reset as the semantics of
the setting dictate.

Fix it by handling it identically to 'fake reboot'.

We need to forbid the combination of 'onReboot' -> 'destroy' and
'onPoweroff' -> reboot though as the handling would be hairy and it
honetly makes no sense.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-08-25 15:32:44 +02:00
..
2021-03-15 17:31:35 +01:00
2021-03-15 17:31:35 +01:00
2021-06-07 08:05:59 -06:00
2021-04-15 15:42:21 +02:00
2020-04-20 14:06:25 +01:00