diff options
Diffstat (limited to 'softmmu')
-rw-r--r-- | softmmu/cpus.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/softmmu/cpus.c b/softmmu/cpus.c index 071085f..23bca46 100644 --- a/softmmu/cpus.c +++ b/softmmu/cpus.c @@ -352,6 +352,10 @@ static void qemu_init_sigbus(void) { struct sigaction action; + /* + * ALERT: when modifying this, take care that SIGBUS forwarding in + * os_mem_prealloc() will continue working as expected. + */ memset(&action, 0, sizeof(action)); action.sa_flags = SA_SIGINFO; action.sa_sigaction = sigbus_handler; |