-
Notifications
You must be signed in to change notification settings - Fork 154
Simplify cancellation #1024
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
Simplify cancellation #1024
Conversation
8d80a67 to
f1742b2
Compare
simongdavies
left a comment
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.
Some minor commments, on this:
If we want to maintain the old behavior of kill() being effective in the entire MultiUseSandbox::call() scope, we can do that too , just needs moving 1 line of code around (effective here meaning skipping the next VM entry).
I think we should.
jsturtevant
left a comment
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.
Thanks splitting this out and for the detailed docs!
dblnz
left a comment
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.
Some minor comments from me.
Good work with the docs explaining the cancellation feature and splitting the PR 👍
Signed-off-by: Ludvig Liljenberg <[email protected]>
Signed-off-by: Ludvig Liljenberg <[email protected]>
b9c56ef to
7bf68a9
Compare
jsturtevant
left a comment
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.
LGTM, Would like @simongdavies to give one more pass too. There is a bit more clean up we can do but I believe you will take care of that with some of the other PR's in the queue.
simongdavies
left a comment
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.
LGTM with minor request for a code comment
Signed-off-by: Ludvig Liljenberg <[email protected]>
Signed-off-by: Ludvig Liljenberg <[email protected]>
ee98dd8 to
a94045c
Compare
…g sandbox Signed-off-by: Ludvig Liljenberg <[email protected]>
a94045c to
9200b1b
Compare
52d7584
Signed-off-by: Ludvig Liljenberg <[email protected]>
c457c26 to
8e69643
Compare
Signed-off-by: Ludvig Liljenberg <[email protected]>
8e69643 to
d65d4bb
Compare
Simplifies cancellation logic and unifies logic for all hypervisors, without affecting current behavior. Adds documentation to how everything works