Skip to content

Releases: rust-vmm/linux-loader

linux-loader-v0.12.0

11 Sep 09:32
Compare
Choose a tag to compare

Changelog

[v0.12.0]

Changed

  • [#187] Updated vm-memory to 0.15.0.
  • [#179] Load hvm_modlist_entry into guest memory when requested.
  • [#177] Added loading of PVH module blobs into guest memory. This enables booting with initrd via PVH boot.

linux-loader-v0.11.0

22 Jan 16:05
Compare
Choose a tag to compare

Changelog

[v0.11.0]

Changed

  • [#173] Updated vm-memory to 0.14.0.
  • [#170] Added all features to the generated docs.rs documentation.

linux-loader-v0.10.0

08 Jan 15:23
Compare
Choose a tag to compare

Changelog

[v0.10.0]

Changed

  • [#162] Updated vm-memory to 0.13.0. This introduces a ReadVolatile bound on KernelLoader::load.

linux-loader-v0.9.0

03 May 13:25
Compare
Choose a tag to compare

Fixed

  • [#71] Fix incorrect
    alignment for ELF notes, starting address of name field and descriptor
    field have a 4-byte alignment.

linux-loader-v0.8.1

07 Dec 17:18
Compare
Choose a tag to compare

Fixed

  • [#125] The ELF
    header contains offsets that the loader uses to find other
    structures. If those offsets are beyond the end of the file (or would go
    past the end of the file) it is essential to error out when attempting
    to read those.

Added

  • Add a new criterion advisory to ignore list 2580d4

linux-loader-v0.8.0

14 Nov 16:34
Compare
Choose a tag to compare

Changed

  • Updated vm-memory from 0.9.0 to 0.10.0.

linux-loader-v0.7.0

21 Oct 08:37
Compare
Choose a tag to compare

Added

  • Added insert_init_args method allowing insertion of init arguments into Cmdline.

Changed

  • Removed InvalidDevice error type (it wasn't used anywhere).
  • Replaced From with TryFrom<Cmdline> for Vec<u8> to be able
    to propagate errors returned by as_cstring when converting a Cmdline to Vec<u8>.
  • Support added for both boot and init arguments in try_from.
  • Changed new to return Result for invalid command line capacity handling.

linux-loader-v0.6.0

23 Sep 13:43
Compare
Choose a tag to compare

Changed

  • Crate is now using edition 2021.

Added

  • Derived Eq for Error types and the PvhBootCapability enum.

Fixed

  • Fixed a bug in load_cmdline due to which the command line was not null terminated. This resulted in a change in the Cmdline API where instead of returning the cmdline as a String, we're now returning it as a CString as the latter has support for converting it to a null terminated bytes array.
  • Fixed an off-by-one error in load_cmdline, where we were doing validations on the first address after the command line memory region, instead of the last inclusive one of it.

linux-loader-v0.5.0

08 Sep 08:15
Compare
Choose a tag to compare

[v0.5.0]

Fixed

  • [#104] Fixed the --no-default-features not working.

Changed

  • [#111] Use caret requirements for dependencies.

Added

  • [#99] Implement Debug and PartialEq for CmdLine.
  • [#100] Added Clone derive for CmdLine.

linux-loader-v0.4.0

23 Sep 15:50
Compare
Choose a tag to compare

Fixed

  • [#66] Fixed potential overflow in calls to align_up.

Changed

  • [#62] The load_cmdline function now takes as a parameter the crate defined Cmdline object instead of Cstr. This means that customers don't need to convert the object before calling into load_cmdline.
  • [#83] Updated the vm-memory dependency requirement to the latest version (0.6.0).

Added

  • [#79] Implemented
    From<Cmdline> for Vec<u8>. This replaces the obsolete Into
    implementation.