KVM: s390: add vector enhancements facility 2 to cpumodel
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Dec 2018 08:43:37 +0000 (09:43 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 18 Apr 2019 08:14:10 +0000 (10:14 +0200)
commit7832e91cd33f21f3cf82b003478c292915a1ec14
treec7526a85b411edae55e157b4e71d7f5a9b971054
parent58616e6a37842740349b7a42dc442ec50fc1d457
KVM: s390: add vector enhancements facility 2 to cpumodel

If vector support is enabled, the vector enhancements facility 2
might also be enabled.
We can directly forward this facility to the guest if available
and VX is requested by user space.

Please note that user space can and will have the final decision
on the facility bits for a guests.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Collin Walling <walling@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
arch/s390/kvm/kvm-s390.c