From 351fc770d9f91e13bb631643933aea120acc6b4e Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Wed, 7 Mar 2012 11:35:42 -0500 Subject: [PATCH 82/98] Rename os_setup_signal_handling() to os_setup_early_signal_handling() Rename os_setup_signal_handling() to os_setup_early_signal_handling() Signed-off-by: Jes Sorensen Acked-by: Juan Quintela Acked-by: Richard Henderson Signed-off-by: Blue Swirl (cherry picked from commit fe98ac146109e307d7e19486dcfebbc89259d34d) Signed-off-by: Jeff Cody Signed-off-by: Michal Novotny --- os-posix.c | 2 +- os-win32.c | 2 +- sysemu.h | 2 +- vl.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os-posix.c b/os-posix.c index 914a4d1..948f662 100644 --- a/os-posix.c +++ b/os-posix.c @@ -31,7 +31,7 @@ #include "config-host.h" #include "sysemu.h" -void os_setup_signal_handling(void) +void os_setup_early_signal_handling(void) { struct sigaction act; sigfillset(&act.sa_mask); diff --git a/os-win32.c b/os-win32.c index dfa90bc..a936f7a 100644 --- a/os-win32.c +++ b/os-win32.c @@ -159,7 +159,7 @@ static BOOL WINAPI qemu_ctrl_handler(DWORD type) return TRUE; } -void os_setup_signal_handling(void) +void os_setup_early_signal_handling(void) { /* Note: cpu_interrupt() is currently not SMP safe, so we force QEMU to run on a single CPU */ diff --git a/sysemu.h b/sysemu.h index 49ed330..7d4ae86 100644 --- a/sysemu.h +++ b/sysemu.h @@ -122,7 +122,7 @@ int qemu_loadvm_state(QEMUFile *f); /* SLIRP */ void do_info_slirp(Monitor *mon); -void os_setup_signal_handling(void); +void os_setup_early_signal_handling(void); typedef enum DisplayType { diff --git a/vl.c b/vl.c index 9894425..bf21a7c 100644 --- a/vl.c +++ b/vl.c @@ -5041,7 +5041,7 @@ int main(int argc, char **argv, char **envp) qemu_cache_utils_init(envp); QLIST_INIT (&vm_change_state_head); - os_setup_signal_handling(); + os_setup_early_signal_handling(); module_call_init(MODULE_INIT_MACHINE); machine = find_default_machine(); -- 1.7.7.6