From: David Hildenbrand <d...@linux.vnet.ibm.com> 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 <th...@linux.vnet.ibm.com> Reviewed-by: Cornelia Huck <cornelia.h...@de.ibm.com> Signed-off-by: Jens Freimann <jf...@linux.vnet.ibm.com> Signed-off-by: David Hildenbrand <d...@linux.vnet.ibm.com> --- 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