qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 00/11] QMP command to import win32 sockets
@ 2023-03-06 12:27 marcandre.lureau
  2023-03-06 12:27 ` [PATCH v4 01/11] tests: fix path separator, use g_build_filename() marcandre.lureau
                   ` (10 more replies)
  0 siblings, 11 replies; 28+ messages in thread
From: marcandre.lureau @ 2023-03-06 12:27 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Gerd Hoffmann, Alex Bennée, Michael Roth,
	Marc-André Lureau, Paolo Bonzini, Laurent Vivier,
	Philippe Mathieu-Daudé, Beraldo Leal,
	Wainer dos Santos Moschetta, Stefan Weil, Daniel P. Berrangé,
	Markus Armbruster, Eric Blake, Dr. David Alan Gilbert

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

Hi,

The series focuses on 'add_client' win32 support, by limiting its scope to
sockets and adding a new command to import sockets. This enables vnc-display
test on win32, exercising the new code paths.

(a follow up series will add dbus display support on win32, with tests using
this socket import method)

v4:
- back to new get-win32-socket command, as in v1
- drop qapi conditional fixes
- add "QMP/HMP: only actually implement getfd on CONFIG_POSIX"
- add "qapi/gen: run C code through clang-format, if possible"
- rebased on pending fd/socket mix series

v3:
- drop "tests: fix test-io-channel-command on win32", not good enough
- include "char: do not double-close fd when failing to add client"
- add "monitor: release the lock before calling close()"
- rebase after recent QMP code move

v2:
- replace the propose new command in v1, with 'wsa-info' argument in 'getfd'
- fix qapi/qmp for commands/events with optional arguments
- rebase, and tags

Based-on: <20230221124802.4103554-1-marcandre.lureau@redhat.com>
("[PATCH v3 00/16] win32: do not mix SOCKET and fd space")

Marc-André Lureau (11):
  tests: fix path separator, use g_build_filename()
  char: do not double-close fd when failing to add client
  tests/docker: fix a win32 error due to portability
  osdep: implement qemu_socketpair() for win32
  qmp: 'add_client' actually expects sockets
  monitor: release the lock before calling close()
  qapi/gen: run C code through clang-format, if possible
  qmp: add 'get-win32-socket'
  libqtest: make qtest_qmp_add_client work on win32
  qtest: enable vnc-display test on win32
  QMP/HMP: only actually implement getfd on CONFIG_POSIX

 qapi/misc.json                       |  35 ++++++++-
 include/qemu/sockets.h               |   2 -
 tests/qtest/libqtest.h               |   5 +-
 chardev/char.c                       |   2 -
 monitor/fds.c                        |  77 +++++++++++++++----
 monitor/hmp-cmds.c                   |   2 +
 monitor/qmp-cmds.c                   |   7 ++
 tests/qtest/libqtest.c               |  18 ++++-
 tests/qtest/vnc-display-test.c       |  12 +--
 tests/unit/test-io-channel-command.c |   2 +-
 util/oslib-win32.c                   | 110 +++++++++++++++++++++++++++
 hmp-commands.hx                      |   2 +
 scripts/qapi/gen.py                  |  15 +++-
 scripts/qapi/introspect.py           |   2 +
 tests/docker/docker.py               |   6 +-
 15 files changed, 263 insertions(+), 34 deletions(-)

-- 
2.39.2



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

end of thread, other threads:[~2023-03-08  9:28 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-06 12:27 [PATCH v4 00/11] QMP command to import win32 sockets marcandre.lureau
2023-03-06 12:27 ` [PATCH v4 01/11] tests: fix path separator, use g_build_filename() marcandre.lureau
2023-03-06 12:27 ` [PATCH v4 02/11] char: do not double-close fd when failing to add client marcandre.lureau
2023-03-06 12:27 ` [PATCH v4 03/11] tests/docker: fix a win32 error due to portability marcandre.lureau
2023-03-06 12:27 ` [PATCH v4 04/11] osdep: implement qemu_socketpair() for win32 marcandre.lureau
2023-03-07 14:50   ` Daniel P. Berrangé
2023-03-08  6:53     ` Marc-André Lureau
2023-03-08  9:27       ` Daniel P. Berrangé
2023-03-06 12:27 ` [PATCH v4 05/11] qmp: 'add_client' actually expects sockets marcandre.lureau
2023-03-06 15:02   ` Markus Armbruster
2023-03-06 12:27 ` [PATCH v4 06/11] monitor: release the lock before calling close() marcandre.lureau
2023-03-06 15:29   ` Markus Armbruster
2023-03-06 15:44     ` Markus Armbruster
2023-03-06 12:27 ` [PATCH v4 07/11] qapi/gen: run C code through clang-format, if possible marcandre.lureau
2023-03-06 16:02   ` Markus Armbruster
2023-03-06 18:26     ` Marc-André Lureau
2023-03-06 16:05   ` Peter Maydell
2023-03-06 18:29     ` Marc-André Lureau
2023-03-06 18:39       ` Peter Maydell
2023-03-07  8:51         ` Markus Armbruster
2023-03-06 12:27 ` [PATCH v4 08/11] qmp: add 'get-win32-socket' marcandre.lureau
2023-03-06 15:47   ` Markus Armbruster
2023-03-07 12:31     ` Marc-André Lureau
2023-03-06 12:27 ` [PATCH v4 09/11] libqtest: make qtest_qmp_add_client work on win32 marcandre.lureau
2023-03-07 14:54   ` Daniel P. Berrangé
2023-03-06 12:27 ` [PATCH v4 10/11] qtest: enable vnc-display test " marcandre.lureau
2023-03-06 12:27 ` [PATCH v4 11/11] QMP/HMP: only actually implement getfd on CONFIG_POSIX marcandre.lureau
2023-03-06 16:01   ` Markus Armbruster

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).