You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[#310]: Added support for KVM_CAP_XSAVE2 and the KVM_GET_XSAVE2 ioctl.
Changed
[#310]: Changed set_xsave()unsafe because the C kvm_xsave struct was extended to have a flexible array member (FAM) in the end in Linux 5.16 and KVM_SET_XSAVE may copy data beyond the traditional size (i.e. 4096 bytes). If any features are enabled dynamically on Linux 5.16+, it is recommended to use set_xsave2() instead.
[#298]: Fixed incorrect usage of ioctl_wit_ref in the create_device method. Replace it with ioctl_wit_mut_ref as the passed parameter may be mutated by the ioctl.
[#298]: Fixed incorrect usage of ioctl_wit_ref in the create_device method. Replace it with ioctl_wit_mut_ref as the passed parameter may be mutated by the ioctl.
[#255]: Fixed a
soundness issue when accessing the kvm_run struct. VcpuFd::run() and VcpuFd::set_kvm_immediate_exit() now take &mut self as a consequence.