Skip to content

Releases: rust-vmm/vm-memory

vm-memory-v0.12.0

13 Jul 07:36
Compare
Choose a tag to compare

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

31 May 13:38
Compare
Choose a tag to compare

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].

vm-memory-v0.10.0

11 Nov 13:18
Compare
Choose a tag to compare

Changed

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

vm-memory-v0.9.0

16 Aug 15:44
Compare
Choose a tag to compare

v0.9.0

Fixed

  • [#195]:
    mmap::check_file_offset is doing the correct size validation for block and
    char devices as well.

Changed

  • [#198]: atomic: enable 64
    bit atomics on ppc64le and s390x.
  • [#200]: docs: enable all
    features in docs.rs.
  • [#199]: Update the way
    the dependencies are pulled such that we don't end up with incompatible
    versions.

vm-memory-v0.8.0

07 Apr 12:54
Compare
Choose a tag to compare

[v0.8.0]

Fixed

  • [#190]:
    VolatileSlice::read/write when input slice is empty.

vm-memory-v0.7.0

20 Oct 19:48
Compare
Choose a tag to compare

[v0.7.0]

Changed

  • [#176]: Relax the trait bounds of Bytes auto impl for T: GuestMemory
  • [#178]: MmapRegion::build_raw no longer requires that the length of the region is a multiple of the page size.

vm-memory-v0.6.0

05 Aug 12:29
Compare
Choose a tag to compare

[v0.6.0]

Added

  • [#160]: Add ArcRef and AtomicBitmapArc bitmap backend implementations.
  • [#149]: Implement builder for MmapRegion.
  • [#140]: Add dirty bitmap tracking abstractions.

vm-memory-v0.5.0

10 Feb 09:48
Compare
Choose a tag to compare

[v0.5.0]

Added

  • [#8]: Add GuestMemory method to return an Iterator
  • [#120]: Add is_hugetlbfs() to GuestMemoryRegion
  • [#126]: Add VolatileSlice::split_at()
  • [#128]: Add VolatileSlice::subslice()

vm-memory-v0.4.0

20 Nov 15:15
Compare
Choose a tag to compare

Fixed

  • [#100]: Performance degradation after fixing #95.
  • [#122]: atomic, Cargo.toml: Update for arc-swap 1.0.0.

vm-memory-v0.3.0

02 Oct 10:13
Compare
Choose a tag to compare

Added

  • [#109]: Added build_raw to MmapRegion which can be used to operate on externally created mappings.
  • [#101]: Added check_range for GuestMemory which could be used to validate a range of guest memory.
  • [#115]: Add methods for atomic access to Bytes.

Fixed

  • [#93]: DoS issue when using virtio with rust-vmm/vm-memory.
  • [#106]: Asserts trigger on zero-length access.

Removed

  • integer-atomics is no longer a distinct feature of the crate.