Releases: rust-vmm/vm-memory
Releases · rust-vmm/vm-memory
vm-memory-v0.16.0
Changelog
Upcoming version
[v0.16.0]
Added
- [#287] Support for RISC-V 64-bit platform.
- [#299] atomic_bitmap: support enlarging the bitmap.
Changed
- [#278 Remove
GuestMemoryIterator
trait, and instead have GuestMemory::iter()
return impl Iterator
.
vm-memory-v0.15.0
Changelog
[v0.15.0]
Added
- [#270] atomic_bitmap: add capability to reset bits range
- [#285] Annotated modules in lib.rs to indicate their feature
dependencies such that it is reflected in the docs, enhancing documentation clarity for users.
Changed
- [#275] Fail builds on non 64-bit platforms.
Fixed
- [#279] Remove restriction from
read_volatile_from
and write_volatile_into
that made it copy data it chunks of 4096.
vm-memory-v0.14.1
Changelog
[v0.14.1]
Fixed
- [#279] Remove restriction from
read_volatile_from
and write_volatile_into
that made it copy data it chunks of 4096.
vm-memory-v0.14.0
Changelog
[v0.14.0]
Added
- [#266] Derive
Debug
for several types that were missing it.
Changed
- [#274] Drop
Default
as requirement for ByteValued
.
vm-memory-v0.13.1
Changelog
[v0.13.1]
Added
- [#256] Implement
WriteVolatile
for std::io::Stdout
.
- [#256] Implement
WriteVolatile
for std::vec::Vec
.
- [#256] Implement
WriteVolatile
for Cursor<&mut [u8]>
.
- [#256] Implement
ReadVolatile
for Cursor<T: AsRef[u8]>
.
vm-memory-v0.13.0
Changelog
[v0.13.0]
Added
- [#247] Add
ReadVolatile
and
WriteVolatile
traits which are equivalents of Read
/Write
with volatile
access semantics.
Changed
- [#247] Deprecate
Bytes::{read_from, read_exact_from, write_to, write_all_to}
. Instead use
ReadVolatile
/WriteVolatile
, which do not incur the performance penalty
of copying to hypervisor memory due to Read
/Write
being incompatible
with volatile semantics (see also #217).
vm-memory-v0.12.2
Changelog
[v0.12.2]
Fixed
- [#251]: Inserted checks that verify that the value returned by
VolatileMemory::get_slice
is of
the correct length.
Deprecated
- [#244] Deprecate volatile memory's
as_ptr()
interfaces. The new interfaces to be used instead are:
ptr_guard()
and ptr_guard_mut()
.
vm-memory-v0.12.1
Changelog
[v0.12.1]
Fixed
- [#241] mmap_xen: Don't drop
the FileOffset while in use #245
vm-memory-v0.12.0
Changelog
[v0.12.0]
Added
- [#241] Add Xen memory
mapping support: Foreign and Grant. Add new API for accessing pointers to
volatile slices, as as_ptr()
can't be used with Xen's Grant mapping.
- [#237] Implement
ByteValued
for i/u128
.
vm-memory-v0.11.0
Changelog
Added
- [#216] Add
GuestRegionMmap::from_region
.
Fixed
- [#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]
.