Skip to content

Conversation

@Tanmay140906
Copy link
Contributor

Description

This PR clarifies the execution timing of EmulatorHooks::post_exec, documenting
that it runs after the harness completes and after snapshot restoration.

It also adds a small lifecycle note in the qemu_baremetal low-level example to
make it explicit that qemu().run() completes the full harness execution cycle.

This resolves the confusion described in #2765 regarding guest memory reads in
post_exec.

Checklist

  • I have run ./scripts/precommit.sh and addressed all comments

@Tanmay140906
Copy link
Contributor Author

CI failure appears unrelated to this change.
cargo doc --no-deps passes locally; the failure occurs in the qemu_tmin
runtime test (Fuzzer-respawner, child exited with 0), which is outside the
scope of this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant