Skip to content

Tags: rust-vmm/vm-memory

Tags

v0.15.0

Toggle v0.15.0's commit message
Prepare 0.15.0 release

Signed-off-by: Muminul Islam <[email protected]>

v0.14.1

Toggle v0.14.1's commit message
Prepare 0.14.1 release

Format CHANGELOG with v0.14.1 entry and prepare it for unreleased work,
and bump version in Cargo.toml

Signed-off-by: Babis Chalios <[email protected]>

v0.14.0

Toggle v0.14.0's commit message
Prepare 0.14.0 release

Signed-off-by: Patrick Roy <[email protected]>

v0.13.1

Toggle v0.13.1's commit message
Re-add impls for Eq,Ord and Hash for MmapXenFlags

With the upgrade to the 2.0 series of bitflags, these were no longer
automatically derived.

Signed-off-by: Patrick Roy <[email protected]>

v0.13.0

Toggle v0.13.0's commit message
chore: Prepare release 0.13.0

Signed-off-by: Patrick Roy <[email protected]>

v0.12.2

Toggle v0.12.2's commit message
fix: Validate return value of get_slice in VolatileMemory

An issue was discovered in the default implementations of the
VolatileMemory::{get_atomic_ref, aligned_as_ref, aligned_as_mut,
get_ref, get_array_ref} trait functions, which allows out-of-bounds
memory access if the VolatileMemory::get_slice function returns a
VolatileSlice whose length is less than the function’s count argument.
No implementations of get_slice provided in vm_memory are affected.
Users of custom VolatileMemory implementations may be impacted if the
custom implementation does not adhere to get_slice's documentation.

This commit fixes this issue by inserting a check that verifies that the
VolatileSlice returned by get_slice is of the correct length.

Signed-off-by: Patrick Roy <[email protected]>

v0.12.1

Toggle v0.12.1's commit message
Prepare for release v0.12.1

This fixes a critical issue with the Xen implementation.

Signed-off-by: Viresh Kumar <[email protected]>

v0.12.0

Toggle v0.12.0's commit message
release vm-memory v0.12.0

Details in changelog.

Signed-off-by: Viresh Kumar <[email protected]>

v0.11.0

Toggle v0.11.0's commit message
v0.11.0

Added
- [[#216]](#216) Add `GuestRegionMmap::from_region`.

Fixed
- [[#217]](#217) Fix vm-memory internally
  taking rust-style slices to guest memory in ways that could potentially cause
  undefined behavior. Removes/deprecates various `as_slice`/`as_slice_mut` methods
  whose usage violated rust's aliasing rules, as well as an unsound
  `impl<'a> VolatileMemory for &'a mut [u8]`.

v0.10.0

Toggle v0.10.0's commit message
v0.10.0

Changed
- [[#208]](#208) Updated
  vmm-sys-util dependency to v0.11.0
- [[#203]](#203) Switched to Rust
  edition 2021.