aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2022-08-23 21:57:35 +0200
committerJohannes Stoelp <johannes.stoelp@gmail.com>2022-08-23 21:57:35 +0200
commitc94950f9dca80387aab264c7aa4044feff76625c (patch)
treebf46ac0e969487b5ccdb1fc6899e9098349c17f4 /src
parent3b9f34189259c94a8fbd26bc16cd28d167282e35 (diff)
parent38cd31ed203999122c500d389de38bb051ce979e (diff)
downloadmini-kvm-rs-c94950f9dca80387aab264c7aa4044feff76625c.tar.gz
mini-kvm-rs-c94950f9dca80387aab264c7aa4044feff76625c.zip
Merge remote-tracking branch 'origin/main'
Diffstat (limited to 'src')
-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 0a3de04..4b25736 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