[PATCH 00/10] Various win32 fixes & new 'get-win32-socket' QMP command

marcandre.lureau@redhat.com posted 10 patches 1 year, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230103110814.3726795-1-marcandre.lureau@redhat.com
Maintainers: Gerd Hoffmann <kraxel@redhat.com>, "Daniel P. Berrangé" <berrange@redhat.com>, Markus Armbruster <armbru@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eric Blake <eblake@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Thomas Huth <thuth@redhat.com>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Beraldo Leal <bleal@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Stefan Weil <sw@weilnetz.de>
qapi/misc.json                       |  32 ++++++++
include/qemu/sockets.h               |   2 -
tests/qtest/libqtest.h               |   5 +-
hw/usb/ccid-card-emulated.c          |   2 +-
monitor/misc.c                       |  74 ++++++++++++++----
monitor/qmp-cmds.c                   |  19 +++--
tests/qtest/libqtest.c               |  16 +++-
tests/qtest/readconfig-test.c        |   6 +-
tests/qtest/vnc-display-test.c       |   5 --
tests/unit/test-io-channel-command.c |   8 +-
util/oslib-win32.c                   | 110 +++++++++++++++++++++++++++
tests/docker/docker.py               |   6 +-
12 files changed, 245 insertions(+), 40 deletions(-)
[PATCH 00/10] Various win32 fixes & new 'get-win32-socket' QMP command
Posted by marcandre.lureau@redhat.com 1 year, 3 months ago
From: Marc-André Lureau <marcandre.lureau@redhat.com>

Hi,

The following series first fixes a few tests on win32. The second part focuses
on 'add_client' support, by limiting its scope to sockets and adding win32
support. Finally, it enables vnc-display test on win32, to exercise the new code
paths and demonstrate its usage.

'get-win32-socket' can be used to write more robusts code & tests using sockets
on Windows, and will be used by a follow up series testing dbus display support.

Marc-André Lureau (10):
  ccid-card-emulated: fix cast warning/error
  tests: fix path separator, use g_build_filename()
  tests: fix test-io-channel-command on win32
  tests/docker: fix a win32 error due to portability
  tests/readconfig: spice doesn't support unix socket on windows yet
  osdep: implement qemu_socketpair() for win32
  qmp: 'add_client' actually expects sockets
  qmp: add 'get-win32-socket'
  libqtest: make qtest_qmp_add_client work on win32
  qtest: enable vnc-display test on win32

 qapi/misc.json                       |  32 ++++++++
 include/qemu/sockets.h               |   2 -
 tests/qtest/libqtest.h               |   5 +-
 hw/usb/ccid-card-emulated.c          |   2 +-
 monitor/misc.c                       |  74 ++++++++++++++----
 monitor/qmp-cmds.c                   |  19 +++--
 tests/qtest/libqtest.c               |  16 +++-
 tests/qtest/readconfig-test.c        |   6 +-
 tests/qtest/vnc-display-test.c       |   5 --
 tests/unit/test-io-channel-command.c |   8 +-
 util/oslib-win32.c                   | 110 +++++++++++++++++++++++++++
 tests/docker/docker.py               |   6 +-
 12 files changed, 245 insertions(+), 40 deletions(-)

-- 
2.39.0


Re: [PATCH 00/10] Various win32 fixes & new 'get-win32-socket' QMP command
Posted by Philippe Mathieu-Daudé 1 year, 3 months ago
Cc'ing more Windows specialists.

On 3/1/23 12:08, marcandre.lureau@redhat.com wrote:
> From: Marc-André Lureau <marcandre.lureau@redhat.com>
> 
> Hi,
> 
> The following series first fixes a few tests on win32. The second part focuses
> on 'add_client' support, by limiting its scope to sockets and adding win32
> support. Finally, it enables vnc-display test on win32, to exercise the new code
> paths and demonstrate its usage.
> 
> 'get-win32-socket' can be used to write more robusts code & tests using sockets
> on Windows, and will be used by a follow up series testing dbus display support.
> 
> Marc-André Lureau (10):
>    ccid-card-emulated: fix cast warning/error
>    tests: fix path separator, use g_build_filename()
>    tests: fix test-io-channel-command on win32
>    tests/docker: fix a win32 error due to portability
>    tests/readconfig: spice doesn't support unix socket on windows yet
>    osdep: implement qemu_socketpair() for win32
>    qmp: 'add_client' actually expects sockets
>    qmp: add 'get-win32-socket'
>    libqtest: make qtest_qmp_add_client work on win32
>    qtest: enable vnc-display test on win32