KVM: s390: Enable the LPP facility for guests
authorThomas Huth <thuth@linux.vnet.ibm.com>
Thu, 12 Dec 2013 12:40:40 +0000 (13:40 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 17 Jan 2014 12:12:21 +0000 (13:12 +0100)
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>
arch/s390/kvm/kvm-s390.c

index 0084c2c272e38ce42e7d8d10dded6d88ec6da9f9..597114b7ab9997a119f3fecfaf35117fb820065d 100644 (file)
@@ -1183,7 +1183,7 @@ static int __init kvm_s390_init(void)
                return -ENOMEM;
        }
        memcpy(vfacilities, S390_lowcore.stfle_fac_list, 16);
-       vfacilities[0] &= 0xff82fff3f47c2000UL;
+       vfacilities[0] &= 0xff82fff3f4fc2000UL;
        vfacilities[1] &= 0x005c000000000000UL;
        return 0;
 }
This page took 0.028075 seconds and 5 git commands to generate.