ignore SIGPIPE in qemu-img and qemu-io
authorMORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Tue, 23 Jul 2013 08:30:11 +0000 (17:30 +0900)
committerKevin Wolf <kwolf@redhat.com>
Tue, 6 Aug 2013 08:41:56 +0000 (10:41 +0200)
commit526eda14a68d5b3596be715505289b541288ef2a
treed63aa37d16d4f1458e190a79e6822acf51f5d184
parentfc11eb26cee7e3621645dd40cd9de944201f590b
ignore SIGPIPE in qemu-img and qemu-io

This prevents the tools from being stopped when they write data to a
closed connection in the other side.

Signed-off-by: MORITA Kazutaka <morita.kazutaka@lab.ntt.co.jp>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c
qemu-io.c