Releases: rust-vmm/vmm-sys-util
Releases · rust-vmm/vmm-sys-util
vmm-sys-util-v0.15.0
Changelog
v0.15.0
Added
- [#245]: Make sock_ctrl_msg support non-linux unix platforms.
- [#244]:
- Impl
IntoRawFdforlinux::eventfd::EventFd. - Use
File::try_cloneto replace the original implementation ofEventFd::try_clone.
Some flags can now be propagated, likeCLOEXEC. - Add
EventNotifierandEventConsumeras a generic event notification
- Impl
vmm-sys-util-v0.14.0
Changelog
Upcoming
v0.14.0
Changed
- [#240]: Remove
PartialEqtrait constraint onEntryin FAM module.
vmm-sys-util-v0.13.0
Changelog
v0.13.0
Added
- [#230]: Introduce align_downwards! and align_upwards! macro to help address aligning, this implementation is faster than div_ceil way and more robust.
- [#236]: Add a utility function for constructing an empty FamStructWrapper with a given header.
Changed
- [#228]: Make
Debugimpl forFamStructWrapper<T>print out contents of the flexible array member. This causesDebugto only be implemented ifT::Entry: Debug.
Removed
- [#235]: Removed
impl From<Vec<T>> for FamStructWrapper<T>, as this was unsound.
vmm-sys-util-v0.12.1
Changelog
v0.12.1
Changed
- [#215]: Make
as_mut_fam_struct()public and unsafe to let users modify fields of the header other than the length.
v0.12.0 (yanked)
Changed
- Added all features to the generated docs.rs documentation.
- Fixed a bug in
serdeimplementation ofFamStructWrapperwhich allowed out of bounds memory access from Rust-safe code. See the related GHSA here: GHSA-875g-mfp6-g7f9 for more information.
vmm-sys-util-v0.11.1
vmm-sys-util-v0.11.0
v0.11.0
Added
- Added
rand_bytesfunction that generates a pseudo random vector oflenbytes. - Added implementation of
std::error::Errorforfam::Error. - Added derive
EqandPartialEqfor error types.
Changed
- [#161]: Updated the license to BSD-3-Clause.
- Use edition 2021.
- [vm-memory#199]: Use caret dependencies. This is the idiomatic way of specifying dependencies. With this we reduce the risk of breaking customer code when new releases of the dependencies are published.
- Renamed
xor_psuedo_rng_u32toxor_pseudo_rng_u32to fix a typo. - Renamed
xor_psuedo_rng_u8_alphanumericstoxor_pseudo_rng_u8_alphanumericsto fix a typo.
vmm-sys-util-v0.10.0
Added
- Added Android support by using the appropriate macro configuration when exporting functionality.
- Derive
DebugforFamStructWrapper&EventFd.
Changed
- The
ioctl_expris now a const function instead of a macro.
vmm-sys-util-v0.9.0
v0.9.0
Changed
- Fixed safety for sock_ctrl_msg::raw_recvmsg() and enhanced documentation
- Fixed sock_cmsg: ensured copy_nonoverlapping safety
- [#135]: sock_ctrl_msg: mark recv_with_fds as unsafe
vmm-sys-util-v0.8.0
v0.8.0
- Added set_check_for_hangup() to PollContext.
- Added writable()/has_error()/raw_events() to PollEvent.
- Derived Copy/Clone for PollWatchingEvents.
- Fixed the implementation of
write_zeroesto useFALLOC_FL_ZERO_RANGE
instead ofFALLOC_FL_PUNCH_HOLE. - Added
write_all_zeroestoWriteZeroes, which callswrite_zeroesin a
loop until the requested length is met. - Added a new trait,
WriteZeroesAt, which allows giving the offset in file
instead of using the current cursor. - Removed
max_eventsfromEpoll::waitwhich removes possible undefined
behavior. - [#104]: Fixed FAM
structPartialEqimplementation. - [#85]: Fixed FAM struct
Cloneimplementation. - [#99]: Validate the
maximum capacity when initializing FAM Struct.
vmm-sys-util-v0.7.0
- Switched to Rust edition 2018.
- Added the
metricmodule that provides aMetricinterface as well as a
default implementation forAtomicU64.