]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdaa33d0b563dfc0e4c2100e34efe15c161b6dfb1
treebd65d3f5f13b7897420724ae22ed2c6c76fbc902
parent8fabbc5795905aa8a9f6c854394ce88cc72cdda2
KVM: s390: Sanitize fpc registers for KVM_SET_FPU

commit b9255686060f8d3ffb38851ac514cb3069a25072 (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