diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-08 12:48:54 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-03 16:40:02 +0100 |
commit | 2ae41db262e02743b27719fe085e749d957613c0 (patch) | |
tree | 2f250d65d9a20985f56a574f7c5f4ee81e48437b /target/s390x/kvm.c | |
parent | 4d39892cca86a9162beaa3944057d118ef42edcd (diff) |
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>
Diffstat (limited to 'target/s390x/kvm.c')
-rw-r--r-- | target/s390x/kvm.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/target/s390x/kvm.c b/target/s390x/kvm.c index e7eea6ddb6..ac47154b83 100644 --- a/target/s390x/kvm.c +++ b/target/s390x/kvm.c @@ -2140,11 +2140,6 @@ bool kvm_arch_stop_on_emulation_error(CPUState *cpu) return true; } -int kvm_arch_on_sigbus_vcpu(CPUState *cpu, int code, void *addr) -{ - return 1; -} - void kvm_s390_io_interrupt(uint16_t subchannel_id, uint16_t subchannel_nr, uint32_t io_int_parm, uint32_t io_int_word) |