cpu: move interrupt handling out of translate-common.c
commit290dae4678df9f271dbde5cc5cc7648aff136493
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Jul 2017 13:57:28 +0000 (4 15:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 4 Jul 2017 14:00:43 +0000 (4 16:00 +0200)
tree4b29ad5be67344cae76274fa922dbd2e9d94c402
parenta0be0c585f5dcc4d50a37f6a20d3d625c5ef3a2c
cpu: move interrupt handling out of translate-common.c

translate-common.c will not be available anymore with --disable-tcg,
so we cannot leave cpu_interrupt_handler there.

Move the TCG-specific handler to accel/tcg/tcg-all.c, and adopt
KVM's handler as the default one, since it works just as well for
Xen and qtest.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
accel/kvm/kvm-all.c
accel/tcg/Makefile.objs
accel/tcg/tcg-all.c
accel/tcg/translate-common.c [deleted file]
qom/cpu.c