aboutsummaryrefslogtreecommitdiff
path: root/util/qemu-progress.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/qemu-progress.c')
-rw-r--r--util/qemu-progress.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/qemu-progress.c b/util/qemu-progress.c
index f745233..3c2223c 100644
--- a/util/qemu-progress.c
+++ b/util/qemu-progress.c
@@ -88,6 +88,9 @@ static void progress_dummy_init(void)
action.sa_handler = sigusr_print;
action.sa_flags = 0;
sigaction(SIGUSR1, &action, NULL);
+#ifdef SIGINFO
+ sigaction(SIGINFO, &action, NULL);
+#endif
/*
* SIGUSR1 is SIG_IPI and gets blocked in qemu_init_main_loop(). In the