]> git.proxmox.com Git - mirror_qemu.git/commit
qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all()
authorYuri Pudgorodskiy <yur@virtuozzo.com>
Tue, 13 Oct 2015 15:41:22 +0000 (18:41 +0300)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Mon, 19 Oct 2015 23:31:54 +0000 (18:31 -0500)
commitf74df9bfce6d133fc64d6b878327849ed2b89b4b
tree43b4e83c1175b52cb599c28de2b1bdc82cd9d276
parent4005b4732e40d3d583510db89ee204b834022d20
qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all()

glib may return G_IO_STATUS_AGAIN which is actually not an error.
Also fixed a bug when on incomplete write buf pointer was not adjusted.

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