Closed asubiotto closed 3 days ago
I'm not very happy with this PR since it's not a complete solution given open FDs. Will keep this up while I see how we can simulate wasi syscalls. The PR has been updated to use hooks into a VFS to simulate a hard shutdown, which is a more complete solution.
This simulates a hard restart by calling the vfs_shutdown hook on the wasm host module to error out all filesystem calls.
Bugs found: