Skip to content

Releases: rust-vmm/vm-memory

vm-memory-v0.16.1

11 Nov 07:57
Compare
Choose a tag to compare

Changelog

[v0.16.1]

Added

  • [#304] Implement ReadVolatile and WriteVolatile for TcpStream

vm-memory-v0.16.0

09 Oct 09:41
Compare
Choose a tag to compare

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

05 Sep 07:36
Compare
Choose a tag to compare

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

11 Mar 10:21
Compare
Choose a tag to compare

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

08 Jan 09:54
Compare
Choose a tag to compare

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

16 Oct 10:37
Compare
Choose a tag to compare

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

22 Sep 10:34
Compare
Choose a tag to compare

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

01 Sep 12:37
Compare
Choose a tag to compare

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

08 Aug 09:40
Compare
Choose a tag to compare

Changelog

[v0.12.1]

Fixed

  • [#241] mmap_xen: Don't drop
    the FileOffset while in use #245

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.