KVM: fix kvm_init() error handling
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 3 Aug 2009 09:10:06 +0000 (17:10 +0800)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:33:17 +0000 (08:33 +0300)
commitaed665f7bbacf09121370bc7e21b4cc7d55fc5ef
tree4774c5e7aa4e55a21c0c819529f424f7c3ee5003
parent1444885a045fe3b1905a14ea1b52540bf556578b
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>
virt/kvm/kvm_main.c