]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - arch/s390/kvm/kvm-s390.c
KVM: s390: make EDAT1 depend on host support
authorGuenther Hutzl <hutzl@linux.vnet.ibm.com>
Tue, 31 Mar 2015 12:39:49 +0000 (14:39 +0200)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 8 May 2015 13:51:13 +0000 (15:51 +0200)
commita4a4f1916abbbc3148d79a37cf3fe4f3f6c604d9
treebadc578ba42be824497abd57b479b94902ca1900
parent785dbef407d8b3c82348aba2689e493c752c62ec
KVM: s390: make EDAT1 depend on host support

We should only enable EDAT1 for the guest if the host actually supports
it and the cpu model for the guest has EDAT-1 enabled.

Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Reviewed-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Guenther Hutzl <hutzl@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
arch/s390/kvm/kvm-s390.c