From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr8Mh-0002Z7-Gq for qemu-devel@nongnu.org; Tue, 27 Oct 2015 13:48:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zr8Mc-0005Tb-Rw for qemu-devel@nongnu.org; Tue, 27 Oct 2015 13:48:55 -0400 Received: from mailhub.sw.ru ([195.214.232.25]:25826 helo=relay.sw.ru) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zr8Mc-0005TA-FV for qemu-devel@nongnu.org; Tue, 27 Oct 2015 13:48:50 -0400 From: "Denis V. Lunev" Date: Tue, 27 Oct 2015 20:48:40 +0300 Message-Id: <1445968123-1773-1-git-send-email-den@openvz.org> Subject: [Qemu-devel] [PATCH v3 for 2.5 0/3] qga: non-blocking fd cleanups List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Roth , "Denis V. Lunev" , Yuri Pudgorodskiy , qemu-devel@nongnu.org, Olga Krishtal This patchset is reincarnation of one patch discussed in the scope of QEMU 2.4 and rejected for that time. Actually we should use non-blocking descriptors in QGA on Windows in guest-file-open exactly like was done for Posix. Changes from v2: - added fix for wrong argument to CloseHandle - switched setting non-block for pipes to use separate function Changes from v1: - call to qemu_fd_register is moved to a proper place - moved declaration of opt to a proper place Signed-off-by: Denis V. Lunev Signed-off-by: Olga Krishtal CC: Yuri Pudgorodskiy CC: Michael Roth Denis V. Lunev (1): qga: drop hand-made guest_file_toggle_flags helper Olga Krishtal (2): qga: fixed CloseHandle in qmp_guest_file_open qga: set file descriptor in qmp_guest_file_open non-blocking on Win32 include/qemu/sockets.h | 2 ++ qga/commands-posix.c | 27 ++------------------------- qga/commands-win32.c | 8 +++++++- util/oslib-win32.c | 41 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 52 insertions(+), 26 deletions(-) -- 2.1.4