Skip to contentSkip to conversation

kvm: fix kvm_init()

PATCH Applied Xiao Guangrong 2 participants 2 messages Aug 3, 2009 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kvm: fix kvm_init()

Remove debugfs file if kvm_arch_init() return error

---
 virt/kvm/kvm_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
virt/kvm/kvm_main.c +1 -1
index 2884baf..6299208 100644
@@ -2679,8 +2679,8 @@ out_free_0:
 	__free_page(bad_page);
 out:
 	kvm_arch_exit();
-	kvm_exit_debug();
 out_fail:
+	kvm_exit_debug();
 	return r;
 }
 EXPORT_SYMBOL_GPL(kvm_init);
Signature · 1 line
1.6.1.2
Applied
#1 lore raw
Quoted 3 lines · Xiao Guangrong

Remove debugfs file if kvm_arch_init() return error

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function