projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1444885
)
KVM: fix kvm_init() error handling
author
Xiao Guangrong
<xiaoguangrong@cn.fujitsu.com>
Mon, 3 Aug 2009 09:10:06 +0000
(17:10 +0800)
committer
Avi Kivity
<avi@redhat.com>
Thu, 10 Sep 2009 05:33:17 +0000
(08:33 +0300)
Remove debugfs file if kvm_arch_init() return error
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
virt/kvm/kvm_main.c
patch
|
blob
|
blame
|
history
diff --git
a/virt/kvm/kvm_main.c
b/virt/kvm/kvm_main.c
index 646cf2ae32fd271a5bb788e44d7bb83636149e28..4470251ddc5311243cf29922293189d14d534684 100644
(file)
--- a/
virt/kvm/kvm_main.c
+++ b/
virt/kvm/kvm_main.c
@@
-2791,8
+2791,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);