qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/6] io/command: implement portable spawn
@ 2022-10-06 11:36 marcandre.lureau
  2022-10-06 11:36 ` [PATCH v4 1/6] osdep: make readv_writev() work with partial read/write marcandre.lureau
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: marcandre.lureau @ 2022-10-06 11:36 UTC (permalink / raw)
  To: qemu-devel; +Cc: berrange, Marc-André Lureau

From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

This enables support of command spawning in the io/ subsystem on Windows.

v4:
 - add "util: make do_send_recv work with partial send/recv" patch
 - drop usage of SOCAT environment variable for tests
 - misc style fixes

v3:
 - actually make it work :) (it seems I didn't test correctly earlier attempts)
 - add a patch for readv_writev() and partial IOs
 - add a patch to avoid some potential race in echo test
 - drop usage of PIPE_NOWAIT which was broken

Marc-André Lureau (6):
  osdep: make readv_writev() work with partial read/write
  util: make do_send_recv work with partial send/recv
  tests/channel-helper: set blocking in main thread
  io/command: use glib GSpawn, instead of open-coding fork/exec
  io/command: implement support for win32
  tests/unit: make test-io-channel-command work on win32

 include/io/channel-command.h         |   5 +-
 io/channel-command.c                 | 185 +++++++++++----------------
 tests/unit/io-channel-helpers.c      |   9 +-
 tests/unit/test-io-channel-command.c |  37 +++---
 util/iov.c                           |  10 +-
 util/osdep.c                         |  11 +-
 6 files changed, 119 insertions(+), 138 deletions(-)

-- 
2.37.3



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-12 15:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-06 11:36 [PATCH v4 0/6] io/command: implement portable spawn marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 1/6] osdep: make readv_writev() work with partial read/write marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 2/6] util: make do_send_recv work with partial send/recv marcandre.lureau
2022-10-12 15:14   ` Daniel P. Berrangé
2022-10-06 11:36 ` [PATCH v4 3/6] tests/channel-helper: set blocking in main thread marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 4/6] io/command: use glib GSpawn, instead of open-coding fork/exec marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 5/6] io/command: implement support for win32 marcandre.lureau
2022-10-06 11:36 ` [PATCH v4 6/6] tests/unit: make test-io-channel-command work on win32 marcandre.lureau
2022-10-12 15:15   ` Daniel P. Berrangé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).