]> git.proxmox.com Git - mirror_qemu.git/commit
qga: handle possible SIGPIPE in guest-file-write
authorDenis V. Lunev <den@openvz.org>
Tue, 13 Oct 2015 15:41:21 +0000 (18:41 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:31:54 +0000 (18:31 -0500)
commit4005b4732e40d3d583510db89ee204b834022d20
tree65ae3ded96b16a1afb4390c94d23a8815900d540
parentd697e30cfff29a6a72e3197a218294ba52e7f0c6
qga: handle possible SIGPIPE in guest-file-write

qemu-ga should not exit on guest-file-write to pipe without read end
but proper error code should be returned. The behavior of the
spawned process should be default thus SIGPIPE processing should be
reset to default after fork() but before exec().

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Yuri Pudgorodskiy <yur@virtuozzo.com>
Reviewed-by: Michael Roth <mdroth@linux.vnet.ibm.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
qga/commands.c
qga/main.c