target-ppc: Synchronize FPU state with KVM
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 20 Feb 2013 16:41:51 +0000 (16:41 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:04:52 +0000 (21:04 +0100)
commit70b79849b84510604e46299672e663a703ad5a4b
tree1c61cab9c29b7043de7d604cc2238cd38ff7b589
parentd67d40ea07577b0a952d3bea5a2f92edf0ee26a6
target-ppc: Synchronize FPU state with KVM

Currently qemu does not get and put the state of the floating point and
vector registers to KVM.  This is obviously a problem for savevm, as well
as possibly being problematic for debugging of FP-using guests.

This patch fixes this by using new extensions to the ONE_REG interface to
synchronize the qemu floating point state with KVM.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc/kvm.c