-
Notifications
You must be signed in to change notification settings - Fork 646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Halt == spinning forever #199
Comments
Which qemu target were you running? It's possible that not all of the poweroff paths are implemented for every target. |
Reproducible on ARM (per the instructions in the README). Also happens for the reboot command |
Ah yes that's just because the platform_halt() path isn't implemented on all of the platforms, and the default one just drops to a spin like that. It doesn't seem to be implemented in the qemu emulated ones, so that's the behavior that's expected. I'd be easy enough to add it for the qemu target. |
Qemu lm3s6965evb-test and also nearly all qemu arm versions |
Correct. It has nothing at all to do with qemu, it's because the individual platform/target code in LK doesn't necessarily have the final mechanism to shut down the emulated system, so it has a fallback path that just spins the cpu. |
When close using "poweroff", it does not close the qemu socket
The text was updated successfully, but these errors were encountered: