mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
KVM: move SIG_IPI handling to kvm-all.c
This lets us remove a bunch of CONFIG_LINUX defines. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
2ae41db262
commit
18268b6016
4 changed files with 63 additions and 76 deletions
12
kvm-stub.c
12
kvm-stub.c
|
@ -95,13 +95,6 @@ void kvm_remove_all_breakpoints(CPUState *cpu)
|
|||
{
|
||||
}
|
||||
|
||||
#ifndef _WIN32
|
||||
int kvm_set_signal_mask(CPUState *cpu, const sigset_t *sigset)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
||||
int kvm_on_sigbus_vcpu(CPUState *cpu, int code, void *addr)
|
||||
{
|
||||
return 1;
|
||||
|
@ -157,4 +150,9 @@ bool kvm_has_free_slot(MachineState *ms)
|
|||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
void kvm_init_cpu_signals(CPUState *cpu)
|
||||
{
|
||||
abort();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue