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

Cédric Le Goater clg at kaod.org
Tue Nov 13 18:27:57 AEDT 2018


On 11/13/18 4:04 AM, Joel Stanley wrote:
> 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.

Excellent !

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

Can't we find a way to inform Linux that it's running on a "virtual" 
QEMU Aspeed machine ? 

> It only supports the ast2500 so far.

I pushed the patches in aspeed-3.1

Thanks,

C. 

> 
> 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(+)
> 



More information about the openbmc mailing list