kvm: Set up signal mask also for !CONFIG_IOTHREAD
commitff48eb5fe79ad9ce50127965bd42320c7cccc8a1
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 1 Feb 2011 21:15:53 +0000 (1 22:15 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 14 Feb 2011 14:39:45 +0000 (14 12:39 -0200)
tree025549df73e8b853bf3e2ef5307da03e916442fa
parent55f8d6ac3e03d2859393c281737f60c65dfc9ab3
kvm: Set up signal mask also for !CONFIG_IOTHREAD

Block SIG_IPI, unblock it during KVM_RUN, just like in io-thread mode.
It's unused so far, but this infrastructure will be required for
self-IPIs and to process SIGBUS plus, in KVM mode, SIGIO and SIGALRM. As
Windows doesn't support signal services, we need to provide a stub for
the init function.

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