ppc/kvm: Do not mess up the generic CPU family registration
commit9c83fc2e8e1630e4d0fb10055563844b6e2cf2e0
authorThomas Huth <thuth@redhat.com>
Tue, 9 Aug 2016 17:00:00 +0000 (9 19:00 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 10 Aug 2016 03:12:20 +0000 (10 13:12 +1000)
tree2042c7bff9641ebbf49350b53b324213c8a7bb67
parent4babfaf05d020eab7d6469d12ce77cc142d22276
ppc/kvm: Do not mess up the generic CPU family registration

The code for registering the sPAPR CPU host core type has been
added inbetween the generic CPU host core type and the generic
CPU family type. That way the instance_init and the class_init
information got lost when registering the generic CPU family
type. Fix it by moving the generic family registration before
the spapr cpu core registration code.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/kvm.c