Both qemumips and qemumips64 both failed to shutdown for 2.7 M3 rc1, where these qemus were able to shutdown prior to 2.7 M3 rc1. Currently, both qemumips and qemumips64 hang/stuck while shutting down, need to manually click on the "x" button to close the qemu. Steps to reproduce: 1. Git clone poky 2. Git checkout poky: 753e2a0ede4449917c75353b57f13bbafe70fac8 3. Configure MACHINE to be qemumips or qemumips64 4. Bitbake core-image-minimal 5. Runqemu to boot qemumips or qemumips64 6. Perform shutdown in command line (eg. shutdown -h now) Expected: Qemu instance to close automatically
As a data point this works with the 4.18 kernel but fails with the 4.19 kernel for qemumips so something changed between those two kernel versions.
qemumips and qemumips64 need new defconfig entries: CONFIG_POWER_RESET=y CONFIG_POWER_RESET_PIIX4_POWEROFF=y See https://github.com/torvalds/linux/commit/dd129c6374e90e665ec022019bcc2f392f25cf2c
(I can confirm that 5.0 works with this added)
Makes sense to me. If Kevin hasn't gotten to this by next week, I can also take care of it.
Thanks Richard, patch sent out.
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=87a8700a37145b0355cb3eb3c495e72673f62930