aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-04-16 22:00:40 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-04-16 22:00:40 +0200
commit6edfa1ba659319752cd3e0d24566a19de80cdac7 (patch)
tree13f3b8491d915e40f4495f4ba8215f236562b181
parent6305e91acccbfbd7cbb31aefbb1dc9175c342c83 (diff)
downloadmini-kvm-rs-6edfa1ba659319752cd3e0d24566a19de80cdac7.tar.gz
mini-kvm-rs-6edfa1ba659319752cd3e0d24566a19de80cdac7.zip
fix vcpu/vm doc
-rw-r--r--src/vcpu.rs2
-rw-r--r--src/vm.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/vcpu.rs b/src/vcpu.rs
index 239c663..f0d311e 100644
--- a/src/vcpu.rs
+++ b/src/vcpu.rs
@@ -5,7 +5,7 @@ use std::io;
use crate::{ioctl, kvm_sys, KvmRun};
-/// Exit reasons for the [`Vcpu::kvm_run`][crate::vcpu::Vcpu::kvm_run] function.
+/// Exit reasons for the [`Vcpu::run`][crate::vcpu::Vcpu::run] function.
///
/// Details for the different exit reasons can be found in the [`kvm_run`
/// structure][kvm-run-struct] description.
diff --git a/src/vm.rs b/src/vm.rs
index 95caf3c..2cd1643 100644
--- a/src/vm.rs
+++ b/src/vm.rs
@@ -26,7 +26,7 @@ impl Vm {
/// Map memory from userspace into the VM as `guest physical` memory starting at address
/// `phys_addr`.
- /// The underlying operation is the [`KVM_SET_USER_MEMORY_REGION`][kmv-set-user-memory-region]
+ /// The underlying operation is the [`KVM_SET_USER_MEMORY_REGION`][kvm-set-user-memory-region]
/// ioctl.
///
/// # Safety