KVM: s390: Sanitize fpc registers for KVM_SET_FPU
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 6 Feb 2012 09:59:02 +0000 (10:59 +0100)
committerAvi Kivity <avi@redhat.com>
Thu, 8 Mar 2012 12:10:13 +0000 (14:10 +0200)
commit851755871c1f3184f4124c466e85881f17fa3226
treebd65d3f5f13b7897420724ae22ed2c6c76fbc902
parent6dbf79e7164e9a86c1e466062c48498142ae6128
KVM: s390: Sanitize fpc registers for KVM_SET_FPU

commit 7eef87dc99e419b1cc051e4417c37e4744d7b661 (KVM: s390: fix
register setting) added a load of the floating point control register
to the KVM_SET_FPU path. Lets make sure that the fpc is valid.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/kvm/kvm-s390.c