KVM: s390: add vector BCD enhancements facility to cpumodel
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 28 Dec 2018 08:45:58 +0000 (09:45 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Thu, 18 Apr 2019 08:14:11 +0000 (10:14 +0200)
commit3f25565a9c2560265174d226fa86f79c6cbf5dbf
treea7929b04a4cca9f8a2654b82dc9b343dae82bce1
parent859f44c040815355494eeb273b294caede864359
KVM: s390: add vector BCD enhancements facility to cpumodel

If vector support is enabled, the vector BCD enhancements facility
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