提交 d208c79d 编写于 作者: T Thomas Huth 提交者: Christian Borntraeger

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: NThomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: NMichael Mueller <mimu@linux.vnet.ibm.com>
Acked-by: NCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: NChristian Borntraeger <borntraeger@de.ibm.com>
上级 7feb6bb8
...@@ -1183,7 +1183,7 @@ static int __init kvm_s390_init(void) ...@@ -1183,7 +1183,7 @@ static int __init kvm_s390_init(void)
return -ENOMEM; return -ENOMEM;
} }
memcpy(vfacilities, S390_lowcore.stfle_fac_list, 16); memcpy(vfacilities, S390_lowcore.stfle_fac_list, 16);
vfacilities[0] &= 0xff82fff3f47c2000UL; vfacilities[0] &= 0xff82fff3f4fc2000UL;
vfacilities[1] &= 0x005c000000000000UL; vfacilities[1] &= 0x005c000000000000UL;
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册