Received: from eggs.gnu.org ([2001:4830:134:3::10]:60710) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxtPL-0000CM-OR for qemu-devel@nongnu.org; Thu, 28 May 2015 04:43:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YxtPH-0002Vp-Oy for qemu-devel@nongnu.org; Thu, 28 May 2015 04:43:19 -0400 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:59758) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YxtPH-0002Vc-Ff for qemu-devel@nongnu.org; Thu, 28 May 2015 04:43:15 -0400 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 28 May 2015 09:43:14 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id F1C91219005E for ; Thu, 28 May 2015 09:42:51 +0100 (BST) Received: from d06av08.portsmouth.uk.ibm.com (d06av08.portsmouth.uk.ibm.com [9.149.37.249]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t4S8hBLb25034940 for ; Thu, 28 May 2015 08:43:11 GMT Received: from d06av08.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av08.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t4S8hBrI032190 for ; Thu, 28 May 2015 02:43:11 -0600 From: Cornelia Huck Date: Thu, 28 May 2015 10:43:05 +0200 Message-Id: <1432802585-10765-11-git-send-email-cornelia.huck@de.ibm.com> In-Reply-To: <1432802585-10765-1-git-send-email-cornelia.huck@de.ibm.com> References: <1432802585-10765-1-git-send-email-cornelia.huck@de.ibm.com> Subject: [Qemu-devel] [PULL 10/10] s390x: Enable vector processing capability List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: peter.maydell@linaro.org Cc: Eric Farman , qemu-devel@nongnu.org, agraf@suse.de, borntraeger@de.ibm.com, jfrei@linux.vnet.ibm.com, Cornelia Huck From: Eric Farman Everything is finally in place, inform the kernel that user space supports vector registers. Signed-off-by: Eric Farman Reviewed-by: Thomas Huth Signed-off-by: Cornelia Huck --- target-s390x/kvm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c index 61e1321..6de7759 100644 --- a/target-s390x/kvm.c +++ b/target-s390x/kvm.c @@ -269,6 +269,7 @@ int kvm_arch_init(MachineState *ms, KVMState *s) } kvm_vm_enable_cap(s, KVM_CAP_S390_USER_SIGP, 0); + kvm_vm_enable_cap(s, KVM_CAP_S390_VECTOR_REGISTERS, 0); kvm_vm_enable_cap(s, KVM_CAP_S390_USER_STSI, 0); return 0; -- 2.4.2