diff options
author | Thomas Huth <thuth@linux.vnet.ibm.com> | 2013-12-12 07:40:40 -0500 |
---|---|---|
committer | Christian Borntraeger <borntraeger@de.ibm.com> | 2014-01-17 07:12:21 -0500 |
commit | d208c79d63e06457eef077af770d23dc4cde4d43 (patch) | |
tree | 4ef8b94773f4fc3b3d8ae5869aa769d0c77dbfac /arch/s390 | |
parent | 7feb6bb8e6dbd129c11fc93bf206daa156bf1c0f (diff) |
KVM: s390: Enable the LPP facility for guests
The Load-Program-Parameter Facility is available for guests without
any further ado, so we should indicate its availability by setting
facility bit 40 if it is supported by the host.
Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Michael Mueller <mimu@linux.vnet.ibm.com>
Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/kvm/kvm-s390.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c index 0084c2c272e3..597114b7ab99 100644 --- a/arch/s390/kvm/kvm-s390.c +++ b/arch/s390/kvm/kvm-s390.c | |||
@@ -1183,7 +1183,7 @@ static int __init kvm_s390_init(void) | |||
1183 | return -ENOMEM; | 1183 | return -ENOMEM; |
1184 | } | 1184 | } |
1185 | memcpy(vfacilities, S390_lowcore.stfle_fac_list, 16); | 1185 | memcpy(vfacilities, S390_lowcore.stfle_fac_list, 16); |
1186 | vfacilities[0] &= 0xff82fff3f47c2000UL; | 1186 | vfacilities[0] &= 0xff82fff3f4fc2000UL; |
1187 | vfacilities[1] &= 0x005c000000000000UL; | 1187 | vfacilities[1] &= 0x005c000000000000UL; |
1188 | return 0; | 1188 | return 0; |
1189 | } | 1189 | } |