uhyve
uhyve copied to clipboard
Don't treat `hlt` as a shutdown command
Treating hlt
like a shutdown is a nice hack, but might lead to problems. I think it's better to continue execution after the instruction.
Doesn't the patch hermitcore/libhermit-rs#45 solve this issue?
No, it just ensures that the hlt instruction is not called on shutdown. I think the behaviour of uhyve is still wrong. I'm not sure what the correct behaviour would be, though.
PR #14 is workaround because hlt
is only used in the idle loop.