diff --git a/os-posix.c b/os-posix.c index 914a4d1d4e..948f662e91 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 dfa90bce6a..a936f7ad22 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 e3643ada2d..bb05cf40a5 100644 --- a/sysemu.h +++ b/sysemu.h @@ -79,7 +79,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 8638c62ab2..4fcedbfeb7 100644 --- a/vl.c +++ b/vl.c @@ -2451,7 +2451,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();