]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: s390: enable PFMFI only if guest has EDAT1
authorDavid Hildenbrand <dahi@linux.vnet.ibm.com>
Fri, 4 Mar 2016 10:55:56 +0000 (11:55 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 9 May 2016 11:33:02 +0000 (13:33 +0200)
commitd6af0b491b1f675e5e5a12c5587f804c698a6ba5
tree790fa16ed911d1ad35620934e5e1544cbcba39fd
parentedc5b05566dfc9b213604c09f25aa3abf8cb0ab9
KVM: s390: enable PFMFI only if guest has EDAT1

Only enable PFMF interpretation if the necessary facility (EDAT1) is
available, otherwise the pfmf handler in priv.c will inject an exception

Reviewed-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
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