From: David Hildenbrand Date: Tue, 24 Feb 2015 13:15:31 +0000 (+0100) Subject: s390x/kvm: enable the new SIGP handling in user space X-Git-Tag: v2.3.0-rc0~24^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f16d3f58748acff4c23f9149c3261844b4d595d5;p=thirdparty%2Fqemu.git s390x/kvm: enable the new SIGP handling in user space All required SIGP handlers have been implemented in QEMU. Let's enable the new sigp handling in user space if the kernel supports it. Reviewed-by: Thomas Huth Reviewed-by: Cornelia Huck Signed-off-by: Jens Freimann Signed-off-by: David Hildenbrand Message-Id: <1424783731-43426-11-git-send-email-jfrei@linux.vnet.ibm.com> Signed-off-by: Christian Borntraeger --- diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index ec64b7e5064..6c4360be658 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -187,6 +187,9 @@ int kvm_arch_init(KVMState *s) || !kvm_check_extension(s, KVM_CAP_S390_COW)) { phys_mem_set_alloc(legacy_s390_alloc); } + + kvm_vm_enable_cap(s, KVM_CAP_S390_USER_SIGP, 0); + return 0; }