You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Often you'll want to pause a VM and then run it for a set amount of wall clock time, cpu time, or cpu instructions and then pause it again.
Describe the desired solution
New api, which allows a stopped / paused vm to run for a set number of cycles or time and then stop / pause automatically. Perhaps an optional callback should be used so a supervisor process doesn't have to poll the vm state to see when it is done stepping.
Describe possible alternatives
One can call pause, resume, and then pause quickly to approximate stepping. But it would not be deterministic.
Additional info
I'm willing to put up a PR if someone will mentor me.
Checks
Have you searched the Firecracker Issues database for similar requests?
Have you read all the existing relevant Firecracker documentation?
Have you read and understood Firecracker's core tenets?
The text was updated successfully, but these errors were encountered:
Hi @LegNeato, thanks for your interest in Firecracker!
Could you describe a use case where this feature would be applicable?
While running for a set amount of time aka wall clock is possible even with the current implementation, the other options may not be easy to implement and we'd like to understand how this would fit in a real-life scenario.
Currently, there is an open PR on implementing GDB server in Firecracker, which allows you to step instruction by instruction.
Feature Request
Often you'll want to pause a VM and then run it for a set amount of wall clock time, cpu time, or cpu instructions and then pause it again.
Describe the desired solution
New api, which allows a stopped / paused vm to run for a set number of cycles or time and then stop / pause automatically. Perhaps an optional callback should be used so a supervisor process doesn't have to poll the vm state to see when it is done stepping.
Describe possible alternatives
Additional info
I'm willing to put up a PR if someone will mentor me.
Checks
The text was updated successfully, but these errors were encountered: