mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
KVM: fix kvm_init() error handling
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>
This commit is contained in:
parent
1444885a04
commit
aed665f7bb
1 changed files with 1 additions and 1 deletions
|
@ -2791,8 +2791,8 @@ out_free_0:
|
||||||
__free_page(bad_page);
|
__free_page(bad_page);
|
||||||
out:
|
out:
|
||||||
kvm_arch_exit();
|
kvm_arch_exit();
|
||||||
kvm_exit_debug();
|
|
||||||
out_fail:
|
out_fail:
|
||||||
|
kvm_exit_debug();
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL_GPL(kvm_init);
|
EXPORT_SYMBOL_GPL(kvm_init);
|
||||||
|
|
Loading…
Reference in a new issue