Tags: rust-vmm/linux-loader
Tags
chore: Prepare 0.13.0 release linux-loader 0.13.0 incorporates: - Introduce RISC-V64 architecture support. - Updated vm-memory to 0.16.0. - Re-organize `loader`, `configurator` and `benches` module layout, leaving original interface intact. Signed-off-by: Ruoqing He <[email protected]>
v0.8.1 Fixed: - [[#125]](#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`](2580d45)
[v0.7.0] 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.
[v0.6.0] 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.
PreviousNext