aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Farman <farman@linux.vnet.ibm.com>2014-10-30 09:23:06 -0400
committerCornelia Huck <cornelia.huck@de.ibm.com>2015-05-27 17:52:04 +0200
commit46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7 (patch)
treec03fb339a9df69a60a7bb3a74a8a77aa60633c33
parentb2ac0ff5d9478907cfd5b204c9179f77d0cb943f (diff)
s390x: Enable vector processing capability
Everything is finally in place, inform the kernel that user space supports vector registers. Signed-off-by: Eric Farman <farman@linux.vnet.ibm.com> Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
-rw-r--r--target-s390x/kvm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/kvm.c b/target-s390x/kvm.c
index 61e1321a4b..6de7759b67 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;