Skip to content

qga: non-blocking fd cleanups

Denis V. Lunev qemu-devel 4 versions – Applied

Status from this message: Thanks, applied to qga tree:

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 1 replyApplied
  2. v33 patches 6 repliesSuperseded
  3. v22 patches 1 replySuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches6 repliesSuperseded

Changes in v4 from the cover letter

- handle_set_nonblocking now is local function in qga/commands-win32.c It works only in one way - set handle nonblocking.

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3qga: drop hand-made guest_file_toggle_flags helperqga/commands-posix.c+2 -250 replies
2/3qga: fixed CloseHandle in qmp_guest_file_openqga/commands-win32.c+1 -10 replies
3/3qga: set file descriptor in qmp_guest_file_open non-blocking on Win32qga/commands-win32.c+27 -00 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchYuri PudgorodskiyEric BlakeStefan Weil
1/3R-b R-b
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [Qemu-devel] [PATCH v4 for 2.5 0/3] qga: non-blocking fd cleanups

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 v3:
- handle_set_nonblocking now is local function in qga/commands-win32.c It works only in one way - set handle nonblocking.

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

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

 qga/commands-posix.c | 27 ++-------------------------
 qga/commands-win32.c | 29 ++++++++++++++++++++++++++++-
 2 files changed, 30 insertions(+), 26 deletions(-)
Signature · 1 line
2.1.4