Re: [PATCH v3 4/5] io/command: implement support for win32

2022-10-06 Thread Daniel P . Berrangé
On Thu, Oct 06, 2022 at 12:12:21PM +0400, marcandre.lur...@redhat.com wrote: > From: Marc-André Lureau > > The initial implementation was changing the pipe state created by GLib > to PIPE_NOWAIT, but it turns out it doesn't work (read/write returns an > error). Since reading may return less than

[PATCH v3 4/5] io/command: implement support for win32

2022-10-06 Thread marcandre . lureau
From: Marc-André Lureau The initial implementation was changing the pipe state created by GLib to PIPE_NOWAIT, but it turns out it doesn't work (read/write returns an error). Since reading may return less than the requested amount, it seems to be non-blocking already. However, the IO operation ma