qemu/qga
Olga Krishtal fb68777312 qga: set file descriptor in qmp_guest_file_open non-blocking on Win32
Set fd non-blocking to avoid common use cases (like reading from a
named pipe) from hanging the agent. This was missed in the original
code.

The patch introduces qemu_set_handle_nonoblocking, the local analog
of qemu_set_nonblock for HANDLES.
The usage of handles in qemu_set_non/block is impossible, because for
win32 there is a difference between file discriptors and file handles,
and all file ops are made via Win32 api.

Signed-off-by: Olga Krishtal <okrishtal@parallels.com>
Signed-off-by: Denis V. Lunev <den@openvz.org>
CC: Michael Roth <mdroth@linux.vnet.ibm.com>
CC: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
2015-11-04 07:37:56 -06:00
..
installer
vss-win32
channel-posix.c qga: handle G_IO_STATUS_AGAIN in ga_channel_write_all() 2015-10-19 18:31:54 -05:00
channel-win32.c qga: fix uninitialized value warning for win32 2015-10-19 18:31:54 -05:00
channel.h
commands-posix.c qga: drop hand-made guest_file_toggle_flags helper 2015-11-04 07:37:56 -06:00
commands-win32.c qga: set file descriptor in qmp_guest_file_open non-blocking on Win32 2015-11-04 07:37:56 -06:00
commands.c qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
guest-agent-command-state.c qga: Use g_new() & friends where that makes obvious sense 2015-10-19 18:28:06 -05:00
guest-agent-core.h
main.c qdict: Make conversion from QObject * accept null 2015-10-29 14:34:45 +01:00
Makefile.objs
qapi-schema.json qga: guest-exec simple stdin/stdout/stderr redirection 2015-10-19 18:31:54 -05:00
service-win32.c
service-win32.h
vss-win32.c
vss-win32.h