* [PATCH] kvm: fix kvm_init()
@ 2009-08-03 9:10 Xiao Guangrong
2009-08-03 12:33 ` Avi Kivity
0 siblings, 1 reply; 2+ messages in thread
From: Xiao Guangrong @ 2009-08-03 9:10 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Avi Kivity, LKML, KVM list
Remove debugfs file if kvm_arch_init() return error
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
---
virt/kvm/kvm_main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 2884baf..6299208 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm/kvm_main.c
@@ -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);
--
1.6.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kvm: fix kvm_init()
2009-08-03 9:10 [PATCH] kvm: fix kvm_init() Xiao Guangrong
@ 2009-08-03 12:33 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2009-08-03 12:33 UTC (permalink / raw)
To: Xiao Guangrong; +Cc: Ingo Molnar, LKML, KVM list
On 08/03/2009 12:10 PM, Xiao Guangrong wrote:
> Remove debugfs file if kvm_arch_init() return error
>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-03 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-03 9:10 [PATCH] kvm: fix kvm_init() Xiao Guangrong
2009-08-03 12:33 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox