From 7e278dcb3df79f8c8b87d8147deca7280eefb7ec Mon Sep 17 00:00:00 2001 From: johannst Date: Tue, 1 Jun 2021 23:09:34 +0200 Subject: misc minor fixes --- src/vcpu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vcpu.rs') 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 { + pub fn run(&mut self) -> io::Result> { ioctl(&self.vcpu, kvm_sys::KVM_RUN, 0)?; let kvm_run = self.kvm_run.as_mut(); -- cgit v1.2.3