diff options
author | Eric Farman <farman@linux.vnet.ibm.com> | 2014-10-30 09:23:06 -0400 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-05-27 17:52:04 +0200 |
commit | 46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7 (patch) | |
tree | c03fb339a9df69a60a7bb3a74a8a77aa60633c33 | |
parent | b2ac0ff5d9478907cfd5b204c9179f77d0cb943f (diff) | |
download | hqemu-46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7.zip hqemu-46ca6b3bc99ebf9205e28ed14c023ebf84d39bb7.tar.gz |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |