mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
a16fc07ebd
commit
4d39892cca
7 changed files with 13 additions and 58 deletions
|
@ -565,11 +565,6 @@ int kvm_arch_on_sigbus_vcpu(CPUState *cs, int code, void *addr)
|
|||
return 1;
|
||||
}
|
||||
|
||||
int kvm_arch_on_sigbus(int code, void *addr)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* The #ifdef protections are until 32bit headers are imported and can
|
||||
* be removed once both 32 and 64 bit reach feature parity.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue