]> git.proxmox.com Git - mirror_qemu.git/commit
KVM: do not use sigtimedwait to catch SIGBUS
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 Feb 2017 11:48:54 +0000 (12:48 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 3 Mar 2017 15:40:02 +0000 (16:40 +0100)
commit2ae41db262e02743b27719fe085e749d957613c0
tree2f250d65d9a20985f56a574f7c5f4ee81e48437b
parent4d39892cca86a9162beaa3944057d118ef42edcd
KVM: do not use sigtimedwait to catch SIGBUS

Call kvm_on_sigbus_vcpu asynchronously from the VCPU thread.
Information for the SIGBUS can be stored in thread-local variables
and processed later in kvm_cpu_exec.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
cpus.c
include/sysemu/kvm.h
kvm-all.c
target/arm/kvm.c
target/i386/kvm.c
target/mips/kvm.c
target/ppc/kvm.c
target/s390x/kvm.c