ppc: Fix migration of the TAR SPR
commit1e440cbc99d810ac8153619e6fbee3d7dfaf1893
authorThomas Huth <thuth@redhat.com>
Wed, 2 Mar 2016 20:19:21 +0000 (2 21:19 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 15 Mar 2016 22:55:05 +0000 (16 09:55 +1100)
treebe11fc834b2227b3e3397082cce58aedb8fd757a
parentd6f1445fafa8dcb578c90e7b475fd4728abd99da
ppc: Fix migration of the TAR SPR

The TAR special purpose register currently does not get migrated
under KVM because it does not get synchronized with the kernel.
Use spr_register_kvm() instead of spr_register() to fix this issue.

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