aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/vcpu.rs
diff options
context:
space:
mode:
authorjohannst <johannes.stoelp@gmail.com>2021-06-01 23:09:34 +0200
committerjohannst <johannes.stoelp@gmail.com>2021-06-01 23:09:34 +0200
commit7e278dcb3df79f8c8b87d8147deca7280eefb7ec (patch)
tree75e500b267752598c1ca021b878dd9803d8402ea /src/vcpu.rs
parent623f731b440e604e0d90fc764e9a228ada09f473 (diff)
downloadmini-kvm-rs-7e278dcb3df79f8c8b87d8147deca7280eefb7ec.tar.gz
mini-kvm-rs-7e278dcb3df79f8c8b87d8147deca7280eefb7ec.zip
misc minor fixes
Diffstat (limited to 'src/vcpu.rs')
-rw-r--r--src/vcpu.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcpu.rs b/src/vcpu.rs
index 085a3c7..7d5b8bb 100644
--- a/src/vcpu.rs
+++ b/src/vcpu.rs
@@ -54,7 +54,7 @@ impl Vcpu {
.map(|_| ())
}
- pub fn run(&mut self) -> io::Result<KvmExit> {
+ pub fn run(&mut self) -> io::Result<KvmExit<'_>> {
ioctl(&self.vcpu, kvm_sys::KVM_RUN, 0)?;
let kvm_run = self.kvm_run.as_mut();