]> git.openfabrics.org - ~emulex/infiniband.git/commit
KVM: PPC: Fix vcpu_create dereference before validity check.
authorMatt Evans <matt@ozlabs.org>
Tue, 6 Dec 2011 21:19:42 +0000 (21:19 +0000)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:52:38 +0000 (14:52 +0200)
commit03cdab5340b423ec88fc18eb158a62a8a7b94d7f
treed7cc6fe86d754690b28938b933ecc85cee3acb86
parent4cf302bc106566c5bad523337296ea8b72df63f5
KVM: PPC: Fix vcpu_create dereference before validity check.

Fix usage of vcpu struct before check that it's actually valid.

Signed-off-by: Matt Evans <matt@ozlabs.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/kvm/powerpc.c