]> git.proxmox.com Git - mirror_qemu.git/blobdiff - qemu-io.c
target-ppc: Add POWER5+ v2.1 CPU model
[mirror_qemu.git] / qemu-io.c
index cb9def50e67772582fe7c2f2e4697a4eb69ced6d..d54dc86921bde4d0d47c76d187956c4f7ec4d432 100644 (file)
--- a/qemu-io.c
+++ b/qemu-io.c
@@ -335,6 +335,10 @@ int main(int argc, char **argv)
     int opt_index = 0;
     int flags = BDRV_O_UNMAP;
 
+#ifdef CONFIG_POSIX
+    signal(SIGPIPE, SIG_IGN);
+#endif
+
     progname = basename(argv[0]);
 
     while ((c = getopt_long(argc, argv, sopt, lopt, &opt_index)) != -1) {