Revision 86b645e7 vl.c
b/vl.c | ||
---|---|---|
2460 | 2460 |
|
2461 | 2461 |
QLIST_INIT (&vm_change_state_head); |
2462 | 2462 |
#ifndef _WIN32 |
2463 |
{ |
|
2464 |
struct sigaction act; |
|
2465 |
sigfillset(&act.sa_mask); |
|
2466 |
act.sa_flags = 0; |
|
2467 |
act.sa_handler = SIG_IGN; |
|
2468 |
sigaction(SIGPIPE, &act, NULL); |
|
2469 |
} |
|
2463 |
os_setup_signal_handling(); |
|
2470 | 2464 |
#else |
2471 | 2465 |
SetConsoleCtrlHandler(qemu_ctrl_handler, TRUE); |
2472 | 2466 |
/* Note: cpu_interrupt() is currently not SMP safe, so we force |
Also available in: Unified diff