KVM: PPC: allow ppc440gp to pass the compatibility check
authorHollis Blanchard <hollis_blanchard@mentor.com>
Sat, 7 Aug 2010 17:33:58 +0000 (10:33 -0700)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:52:18 +0000 (10:52 +0200)
commitebc65874e9e8f3b8bbbc69aa49acd7489cd41c52
tree0c8df4aa1339a8d01ba6979c4ac6033f8b1aef51
parent0b3bafc8e5867039e265869749abbb7ea6dd2c8b
KVM: PPC: allow ppc440gp to pass the compatibility check

Match only the first part of cur_cpu_spec->platform.

440GP (the first 440 processor) is identified by the string "ppc440gp", while
all later 440 processors use simply "ppc440".

Signed-off-by: Hollis Blanchard <hollis_blanchard@mentor.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/44x.c