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 <Jes.Sorensen@redhat.com> Acked-by: Juan Quintela <quintela@redhat.com> Acked-by: Richard Henderson <rth@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
69bd73b1b0
commit
fe98ac1461
@ -31,7 +31,7 @@
|
|||||||
#include "config-host.h"
|
#include "config-host.h"
|
||||||
#include "sysemu.h"
|
#include "sysemu.h"
|
||||||
|
|
||||||
void os_setup_signal_handling(void)
|
void os_setup_early_signal_handling(void)
|
||||||
{
|
{
|
||||||
struct sigaction act;
|
struct sigaction act;
|
||||||
sigfillset(&act.sa_mask);
|
sigfillset(&act.sa_mask);
|
||||||
|
@ -159,7 +159,7 @@ static BOOL WINAPI qemu_ctrl_handler(DWORD type)
|
|||||||
return TRUE;
|
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
|
/* Note: cpu_interrupt() is currently not SMP safe, so we force
|
||||||
QEMU to run on a single CPU */
|
QEMU to run on a single CPU */
|
||||||
|
2
sysemu.h
2
sysemu.h
@ -79,7 +79,7 @@ int qemu_loadvm_state(QEMUFile *f);
|
|||||||
/* SLIRP */
|
/* SLIRP */
|
||||||
void do_info_slirp(Monitor *mon);
|
void do_info_slirp(Monitor *mon);
|
||||||
|
|
||||||
void os_setup_signal_handling(void);
|
void os_setup_early_signal_handling(void);
|
||||||
|
|
||||||
typedef enum DisplayType
|
typedef enum DisplayType
|
||||||
{
|
{
|
||||||
|
2
vl.c
2
vl.c
@ -2451,7 +2451,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
qemu_cache_utils_init(envp);
|
qemu_cache_utils_init(envp);
|
||||||
|
|
||||||
QLIST_INIT (&vm_change_state_head);
|
QLIST_INIT (&vm_change_state_head);
|
||||||
os_setup_signal_handling();
|
os_setup_early_signal_handling();
|
||||||
|
|
||||||
module_call_init(MODULE_INIT_MACHINE);
|
module_call_init(MODULE_INIT_MACHINE);
|
||||||
machine = find_default_machine();
|
machine = find_default_machine();
|
||||||
|
Loading…
Reference in New Issue
Block a user