-
Notifications
You must be signed in to change notification settings - Fork 157
mana: save and restore mana devices when keepalive is enabled #2123
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
Open
justus-camp-microsoft
wants to merge
31
commits into
microsoft:main
Choose a base branch
from
justus-camp-microsoft:full_enablement
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 28 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
eb06840
cherry-pick gdma changes
justus-camp-microsoft e9e293f
some cleanup
justus-camp-microsoft 1d5479d
unused import
justus-camp-microsoft 93dfba9
get rid of crate
justus-camp-microsoft eea14e1
some of feedback
justus-camp-microsoft d6fc130
remove arm state, re-arm on restore
justus-camp-microsoft fe7e8bd
save on hwc failure, save hwc failure state
justus-camp-microsoft a48267e
move some duplicated code to init function
justus-camp-microsoft 1950a50
Merge branch 'main' into gdma
06ac5b2
Merge branch 'main' into gdma
87ec2a3
retarget always
980f5b0
unmap interrupts on drop
054c767
PR feedback
justus-camp-microsoft 1baec11
unmap all interrupts at once
justus-camp-microsoft 038c2da
remove eq_id_msix saving and reconstruct, other minor feedback
justus-camp-microsoft e6fcd99
enable keepalive
justus-camp-microsoft d799d6b
triple fault to fix, only calling save and not restoring
justus-camp-microsoft 0b4c25b
calling save but still destroying everything, triple faults sometimes…
justus-camp-microsoft 4dde9aa
passing test, enabled by default currently
justus-camp-microsoft 3177ddc
default off
justus-camp-microsoft c403fc5
run format, make RPC return an option in case device disappears, remo…
justus-camp-microsoft 8e30a76
some logging
justus-camp-microsoft 6646ca2
merge main
justus-camp-microsoft b3a95cc
cleanup from self-review
justus-camp-microsoft 60008ad
don't have mana keepalive on by default in openvmm RPC
justus-camp-microsoft 6b4351e
fix some ordering issues, move some tests around
justus-camp-microsoft c53567f
Merge branch 'main' into full_enablement
justus-camp-microsoft 46ac820
add a comment, put some duplicated code in a helper method
justus-camp-microsoft cdad413
Merge remote-tracking branch 'upstream/main' into full_enablement
justus-camp-microsoft b5a4c16
add an upgrade test
justus-camp-microsoft c7925a8
Merge branch 'main' into full_enablement
justus-camp-microsoft File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Using std::mem::forget() prevents the device destructor from running, which could lead to resource leaks. Consider documenting why this is necessary or finding an alternative approach that properly manages the device lifetime.