-
Notifications
You must be signed in to change notification settings - Fork 17
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
virtualization: properly restore cold/warm states, cache, and scry stack when catching an error #158
Conversation
…ack when catching an error
7beca7e
to
1c80366
Compare
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly just: "shouldn't we restore the saved cache after failure?" in a bunch of different places. I might not be following something...
Notes from discussion with @ashelkovnykov this morning
|
Follow-up to @eamsden 's comments above: I tried to elide several calls and unnecessary restorations in Therefore, we're going to put all of the logic (except scry stack) into |
e902369
to
aa002b4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me now, but it needs to be tested booting a fakezod and someone not me or @ashelkovnykov needs to review it.
@eamsden Currently failing on fakezod boot |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this looks consistent to me
Fixed a bug caught by @ashelkovnykov
@ashelkovnykov please confirm my understanding. In particular:
jet_mute
andjet_mure
had the same bug asmink
jet_mute
andjet_mure
additionally did not properly reset the scry stack in the context when catching an error.mink
further does not properly reset the scry stack in the context when catching an error