Refactor signal setup functions in cpus.c
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 21:15:52 +0000 (22:15 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:45 +0000 (12:39 -0200)
commit55f8d6ac3e03d2859393c281737f60c65dfc9ab3
treef693ce9e8a9936cdb8a2b38346b3bc50b5579efe
parenta1b87fe046bbb5a332e51906053c7e0307f26d89
Refactor signal setup functions in cpus.c

Move {tcg,kvm}_init_ipi and block_io_signals to avoid prototypes, rename
the former two to clarify that they deal with more than SIG_IPI. No
functional changes - except for the tiny fixup of strerror usage.

The forward declaration of sigbus_handler is just temporarily, it will
be moved in a succeeding patch. dummy_signal is moved into the !_WIN32
block as we will soon need it also for !CONFIG_IOTHREAD.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
cpus.c