]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: PPC: Do not create debugfs if fail to create vcpu
authorWei Yongjun <yjwei@cn.fujitsu.com>
Tue, 9 Mar 2010 06:13:43 +0000 (14:13 +0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:16:12 +0000 (11:16 -0700)
commit530015c2b51b4423347fddcb0ed922672bc4e69e
treea3b33530b6c83427bf642e2c0499f5e7cf691bb3
parent12a6d6c2fcab2cad127529a972425fcc29a78e13
KVM: PPC: Do not create debugfs if fail to create vcpu

If fail to create the vcpu, we should not create the debugfs
for it.

Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Acked-by: Alexander Graf <agraf@suse.de>
Cc: stable@kernel.org
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
(cherry picked from commit 06056bfb944a0302a8f22eb45f09123de7fb417b)
arch/powerpc/kvm/powerpc.c