]> git.karo-electronics.de Git - karo-tx-linux.git/commit
KVM: s390: Sanitize fpc registers for KVM_SET_FPU
authorChristian Borntraeger <borntraeger@de.ibm.com>
Wed, 9 May 2012 13:10:38 +0000 (16:10 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 May 2012 16:32:19 +0000 (09:32 -0700)
commitf6a0ce750df3fd54adbdbfbaf9f0736763f4f7ac
treecef1c81225268e1848114ec89c3d296612d4764c
parentbb5f011a9b907e646904289c79f250b3aa17d57a
KVM: s390: Sanitize fpc registers for KVM_SET_FPU

(cherry picked from commit 851755871c1f3184f4124c466e85881f17fa3226)

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/s390/kvm/kvm-s390.c