-
Notifications
You must be signed in to change notification settings - Fork 63
chore(deps): bump vm-memory and criterion versions #223
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,7 +12,7 @@ | |
| //! Traits and structs for configuring and loading boot parameters on `x86_64` using the Linux | ||
| //! boot protocol. | ||
|
|
||
| use vm_memory::{Bytes, GuestMemory}; | ||
| use vm_memory::{Bytes, GuestMemory, GuestMemoryBackend}; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wasn't this trait introduced in vm-memory 0.18.0? How does this work with the lower versions of vm-memory that are still marked as compatible?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, we'll need to bump the vm-memory version to >=0.18 if we start explicitly depending on the new traits |
||
|
|
||
| use crate::configurator::{BootConfigurator, BootParams, Error as BootConfiguratorError, Result}; | ||
|
|
||
|
|
@@ -97,7 +97,7 @@ impl BootConfigurator for LinuxBootConfigurator { | |
| /// [`boot_params`]: ../loader/bootparam/struct.boot_params.html | ||
| fn write_bootparams<M>(params: &BootParams, guest_memory: &M) -> Result<()> | ||
| where | ||
| M: GuestMemory, | ||
| M: GuestMemory + GuestMemoryBackend, | ||
| { | ||
| // The VMM has filled a `boot_params` struct and its e820 map. | ||
| // This will be written in guest memory at the zero page. | ||
|
|
||
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.
Otherwise, when 0.18.1 comes out, it won't be considered compatible, even though it won't have breaking changes.