[PATCH qemu aspeed-3.1 0/2] aspeed: Guest to exit on shutdown

Joel Stanley joel at jms.id.au
Tue Nov 13 14:04:19 AEDT 2018


With this change to qemu and CONFIG_POWER_RESET_SYSCON_POWEROFF=y
enabled in the kernel, the guest will cause qemu to exit when performing
a shutdown. This is useful for detecting the end of a successful CI job.

This is only relevant when passing the device tree to Qemu with the -dtb
option.

It only supports the ast2500 so far.

Joel Stanley (2):
  aspeed: Add syscon-poweroff to system
  aspeed/scu: Implement power off command

 hw/arm/aspeed.c      | 35 +++++++++++++++++++++++++++++++++++
 hw/misc/aspeed_scu.c |  5 +++++
 2 files changed, 40 insertions(+)

-- 
2.19.1



More information about the openbmc mailing list