Releases: rust-vmm/linux-loader
Releases · rust-vmm/linux-loader
linux-loader-v0.13.1
Changelog
[v0.13.1]
Changed
- [#148] Fixing kernel commandline parameter validation
This change allows parameter values containing spaces in the middle, provided they are enclosed in quotes. However,
strings with quotes in the middle will no longer be accepted as valid parameter values. - [#205] Make image header for ARM and RISC-V public
Kernel headers for ARM and RISC-V are made public to be used in a fw_cfg
implementation that reads the kernel header.
linux-loader-v0.13.0
linux-loader-v0.12.0
linux-loader-v0.11.0
linux-loader-v0.10.0
Changelog
[v0.10.0]
Changed
- [#162] Updated vm-memory to 0.13.0. This introduces a
ReadVolatile
bound onKernelLoader::load
.
linux-loader-v0.9.0
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
linux-loader-v0.8.0
Changed
- Updated
vm-memory
from 0.9.0 to 0.10.0.
linux-loader-v0.7.0
Added
- Added
insert_init_args
method allowing insertion of init arguments intoCmdline
.
Changed
- Removed
InvalidDevice
error type (it wasn't used anywhere). - Replaced
From
withTryFrom<Cmdline>
forVec<u8>
to be able
to propagate errors returned byas_cstring
when converting aCmdline
toVec<u8>
. - Support added for both boot and init arguments in
try_from
. - Changed
new
to returnResult
for invalid command line capacity handling.
linux-loader-v0.6.0
Changed
- Crate is now using edition 2021.
Added
- Derived
Eq
forError
types and thePvhBootCapability
enum.
Fixed
- Fixed a bug in
load_cmdline
due to which the command line was not null terminated. This resulted in a change in theCmdline
API where instead of returning the cmdline as a String, we're now returning it as aCString
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.