From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQFL0-0001Ub-Ty for qemu-devel@nongnu.org; Tue, 24 Feb 2015 08:15:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YQFKu-0002Lq-D7 for qemu-devel@nongnu.org; Tue, 24 Feb 2015 08:15:46 -0500 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:44914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YQFKu-0002LS-45 for qemu-devel@nongnu.org; Tue, 24 Feb 2015 08:15:40 -0500 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Feb 2015 13:15:38 -0000 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7E50E1B08070 for ; Tue, 24 Feb 2015 13:15:50 +0000 (GMT) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t1ODFZIc10289578 for ; Tue, 24 Feb 2015 13:15:35 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t1ODFZno014269 for ; Tue, 24 Feb 2015 06:15:35 -0700 From: Jens Freimann Date: Tue, 24 Feb 2015 14:15:31 +0100 Message-Id: <1424783731-43426-11-git-send-email-jfrei@linux.vnet.ibm.com> In-Reply-To: <1424783731-43426-1-git-send-email-jfrei@linux.vnet.ibm.com> References: <1424783731-43426-1-git-send-email-jfrei@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 10/10] s390x/kvm: enable the new SIGP handling in user space List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christian Borntraeger , Alexander Graf , Cornelia Huck Cc: David Hildenbrand , Jens Freimann , qemu-devel@nongnu.org From: David Hildenbrand 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 --- target-s390x/kvm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 7f9fd02..8066cb7 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -186,6 +186,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; } -- 2.1.4