File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ unsafe impl FamStruct for kvm_xsave2 {
192192/// cannot happen in the [`FamStruct::len`] trait method. To work around this, we define a wrapper
193193/// struct that caches the length of a previous `KVM_CHECK_EXTENSION(KVM_CAP_XSAVE2)` call,
194194/// and implement [`FamStruct`] for this wrapper. Then in kvm-ioctls, we can expose a function
195- /// that first queries `KVM_CAP_XSAVE2`, then invokes [ `KVM_GET_XSAVE2`] to retrieves the
195+ /// that first queries `KVM_CAP_XSAVE2`, then invokes `KVM_GET_XSAVE2` to retrieves the
196196/// `kvm_xsave` structure, and finally combine them into the [`kvm_xsave2`] helper structure to be
197197/// managed as a `FamStruct`.
198198pub type Xsave = FamStructWrapper < kvm_xsave2 > ;
Original file line number Diff line number Diff line change @@ -45,9 +45,9 @@ impl DeviceFd {
4545 ///
4646 /// Configuring a VFIO device using `set_device_attr`. Note that VFIO
4747 /// devices are not yet available on RISC-V The patch for QEMU:
48- /// https://lore.kernel.org/all/[email protected] / 48+ /// < https://lore.kernel.org/all/[email protected] /> 4949 /// and patch for linux kernel
50- /// https://github.com/ventanamicro/linux/tree/dev-upstream are both not
50+ /// < https://github.com/ventanamicro/linux/tree/dev-upstream> are both not
5151 /// upstreamed. Disabling VFIO device test for RISC-V at the time being.
5252 ///
5353 /// ```rust
Original file line number Diff line number Diff line change @@ -1966,8 +1966,6 @@ impl VcpuFd {
19661966 /// // Next, serialize the actual state into a file or so.
19671967 /// }
19681968 /// ```
1969- ///
1970- /// [`Kvm::check_extension_int`]: kvm_ioctls::Kvm::check_extension_int
19711969 #[ cfg( target_arch = "x86_64" ) ]
19721970 pub fn nested_state (
19731971 & self ,
You can’t perform that action at this time.
0 commit comments