forked from firecracker-microvm/firecracker
-
Notifications
You must be signed in to change notification settings - Fork 3
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
allow writing snapshot on top of existing files #1
Open
CompuIves
wants to merge
32
commits into
main
Choose a base branch
from
codesandbox/memory-save-snapshot
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.
Conversation
This file contains 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
cf68a98
to
f3b8fa6
Compare
Logic for writing a frame to a descriptor chain was a bit convoluted. Signed-off-by: Babis Chalios <bchalios@amazon.es>
Use notification suppression feature of VirtIO for net device. Signed-off-by: Babis Chalios <bchalios@amazon.es>
Instead of keeping track whether we have consumed any descriptors in a separate variable, rely on `prepare_kick()` to find out whether we should enable guest notifications. This will probably induce a performance hit with guests that don't support notification suppression, but it simplifies the code in the common case. Signed-off-by: Babis Chalios <bchalios@amazon.es>
One notification-suppression related unit test and some more additions to increase total code coverage. Signed-off-by: Babis Chalios <bchalios@amazon.es>
On Firecracker v1.1.0 we add support for notification suppression in the VirtIO net device, which renders making snapshots for older versions incompatible. This commit forbids snapshots to v1.0.0 if the net device uses notification suppression and adapts integration tests to reflect the incompatibility. Signed-off-by: Babis Chalios <bchalios@amazon.es>
Signed-off-by: Babis Chalios <bchalios@amazon.es>
Fixes these warnings when running the tests: Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
ref: firecracker-microvm#1233 Signed-off-by: Ján Mochňak <janmochnak@icloud.com>
Signed-off-by: Alexandru-Cezar Sardan <alsardan@amazon.com>
Signed-off-by: Alexandru-Cezar Sardan <alsardan@amazon.com>
Signed-off-by: Matthew Schlebusch <schlebus@amazon.com>
See https://rustsec.org/advisories/RUSTSEC-2020-0157 Signed-off-by: Matthew Schlebusch <schlebus@amazon.com>
Signed-off-by: Alexandru-Cezar Sardan <alsardan@amazon.com>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk> shorter
Signed-off-by: Arjun Ramachandrula <avrdev77@gmail.com>
Signed-off-by: Arjun Ramachandrula <avrdev77@gmail.com>
This makes it much easier to view the dependency changes whenever introduced. Signed-off-by: alindima <alindima@amazon.com>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Replace mmio::Error::IrqExhausted with vm-allocator error. Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Replace old logic for irq numbers allocation with the IdAllocator component from vm-allocator crate. Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Replace the old logic for mmio slots allocation with the AddressAllocator component from vm-allocator component. Also restored the AddressAllocator on restore path. Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk> Co-authored-by: Alexandru Cihodaru <cihodar@amazon.com>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Added constants and source references for legacy device handling with `PortIODeviceManager`. Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Signed-off-by: Jonathan Woollett-Light <jcawl@amazon.co.uk>
Signed-off-by: CuriousCorrelation <curiouscorrelation@protonmail.com>
Signed-off-by: CuriousCorrelation <curiouscorrelation@protonmail.com>
Signed-off-by: CuriousCorrelation <curiouscorrelation@protonmail.com>
f3b8fa6
to
62db03e
Compare
Signed-off-by: Ives van Hoorne <ives@codesandbox.io>
94030d2
to
18c70af
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.