kvm: qemu: add function to handle signals
commit1743ef816b6cd22d100ccb80e542b8ca19c75392
authorMarcelo Tosatti <mtosatti@redhat.com>
Wed, 2 Apr 2008 23:20:15 +0000 (2 20:20 -0300)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 Apr 2008 09:51:07 +0000 (3 12:51 +0300)
treee0d6bdcbaf73f6bcd8417b763eae1e5c4ccc2c1d
parentd2668b3fd41f88c18a7f9c4f1d024f0e5d9f64cf
kvm: qemu: add function to handle signals

SIGUSR1 has no handler, and the SIGUSR2 one does nothing useful anymore
(thats also true for SIGIO on tap fd, which runs host_alarm_handler
unnecessarily).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
qemu/qemu-kvm.c