s390x/kvm: synchronize guest floating point registers
commit85ad6230b3af048109b3e949ca95ade4dd9a0bfa
authorJason J. Herne <jjherne@us.ibm.com>
Thu, 29 Nov 2012 15:09:42 +0000 (29 10:09 -0500)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Mon, 14 Jul 2014 07:15:38 +0000 (14 09:15 +0200)
tree75e8fcadedc0b2b36423ea5cc0390b1b75137bb5
parentab6d3749c4915cd5692633e321f7745dce06fe77
s390x/kvm: synchronize guest floating point registers

Add code to kvm_arch_get_registers and kvm_arch_put_registers to
save/restore floating point registers. This missing sync was
unnoticed until migration of userspace that uses fprs.

Signed-off-by: Jason J. Herne <jjherne@us.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
[Update patch to latest upstream]
Cc: qemu-stable@nongnu.org
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
target-s390x/kvm.c