aboutsummaryrefslogtreecommitdiff
path: root/target/mips/kvm.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-02-09 10:04:34 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2017-03-03 16:40:02 +0100
commit4d39892cca86a9162beaa3944057d118ef42edcd (patch)
tree4848f257f09d798d7ab35b3a3ced3e089ca2417a /target/mips/kvm.c
parenta16fc07ebd58da51d5e1c2928069879c40a26f59 (diff)
downloadqemu-4d39892cca86a9162beaa3944057d118ef42edcd.zip
qemu-4d39892cca86a9162beaa3944057d118ef42edcd.tar.gz
qemu-4d39892cca86a9162beaa3944057d118ef42edcd.tar.bz2
KVM: remove kvm_arch_on_sigbus
Build it on kvm_arch_on_sigbus_vcpu instead. They do the same for "action optional" SIGBUSes, and the main thread should never get "action required" SIGBUSes because it blocks the signal. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/mips/kvm.c')
-rw-r--r--target/mips/kvm.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/target/mips/kvm.c b/target/mips/kvm.c
index 998c341..3e686e7 100644
--- a/target/mips/kvm.c
+++ b/target/mips/kvm.c
@@ -186,12 +186,6 @@ int kvm_arch_on_sigbus_vcpu(CPUState *cs, int code, void *addr)
return 1;
}
-int kvm_arch_on_sigbus(int code, void *addr)
-{
- DPRINTF("%s\n", __func__);
- return 1;
-}
-
void kvm_arch_init_irq_routing(KVMState *s)
{
}