ppc: Provide function to get CPU class of the host CPU
commit52b2519c4ea9a6aa4df7abfe35fd1755c5c8546c
authorThomas Huth <thuth@redhat.com>
Tue, 7 Jun 2016 15:39:38 +0000 (7 17:39 +0200)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 14 Jun 2016 00:41:38 +0000 (14 10:41 +1000)
tree946bd0d92e0b3ad8e34e3b5be44ac0ccd8aaf99d
parent8cd2ce7aaa3c3fadc561f40045d4d53ff72e94ef
ppc: Provide function to get CPU class of the host CPU

When running with KVM, we might be interested in some details
of the host CPU class, too, so provide a function to get the
corresponding CPU class.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target-ppc/kvm.c
target-ppc/kvm_ppc.h