summaryrefslogtreecommitdiff
path: root/arch/riscv/kvm/vm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/riscv/kvm/vm.c')
-rw-r--r--arch/riscv/kvm/vm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/riscv/kvm/vm.c b/arch/riscv/kvm/vm.c
index 945a2bf5e3f6..65a964d7e70d 100644
--- a/arch/riscv/kvm/vm.c
+++ b/arch/riscv/kvm/vm.c
@@ -41,7 +41,9 @@ int kvm_arch_init_vm(struct kvm *kvm, unsigned long type)
return r;
}
- return kvm_riscv_guest_timer_init(kvm);
+ kvm_riscv_guest_timer_init(kvm);
+
+ return 0;
}
void kvm_arch_destroy_vm(struct kvm *kvm)