KVM: s390: enable PFMFI only if available
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Mon, 4 Apr 2016 13:53:47 +0000 (15:53 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 10 Jun 2016 10:07:23 +0000 (12:07 +0200)
commit873b425e4c2fd0ba6617d67a45fbf119b65575b4
tree7c791c1e2358c60b2412ed22468480468c31021d
parenta0eb55e6318f1bcfe93b01f0944622f14a6b2977
KVM: s390: enable PFMFI only if available

Let's enable interpretation of PFMFI only if the facility is
actually available. Emulation code still works in case the guest is
offered EDAT-1.

Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c