diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2017-02-09 09:41:14 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2017-03-03 16:40:02 +0100 |
commit | 18268b6016930efe76c77ae590e244d42d9671ea (patch) | |
tree | 7a45bbda62b6a1d2304696f81969e76af8fde574 /kvm-stub.c | |
parent | 2ae41db262e02743b27719fe085e749d957613c0 (diff) |
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>
Diffstat (limited to 'kvm-stub.c')
-rw-r--r-- | kvm-stub.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/kvm-stub.c b/kvm-stub.c index b1b6b96c96..ef0c7346af 100644 --- a/kvm-stub.c +++ b/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 |