]> git.proxmox.com Git - mirror_qemu.git/blobdiff - util/qemu-progress.c
migration: report SaveStateEntry id and name on failure
[mirror_qemu.git] / util / qemu-progress.c
index 532333e7573d23dedae3d4b896ebbeab53473c43..3c2223c1a21cd3173fe86cf96e44fce3e3bb9299 100644 (file)
@@ -22,9 +22,8 @@
  * THE SOFTWARE.
  */
 
-#include "qemu-common.h"
 #include "qemu/osdep.h"
-#include <stdio.h>
+#include "qemu-common.h"
 
 struct progress_state {
     float current;
@@ -89,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