[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] d40937: util/qemu-sockets: Enable unix socket
From: |
Paolo Bonzini |
Subject: |
[Qemu-commits] [qemu/qemu] d40937: util/qemu-sockets: Enable unix socket support on W... |
Date: |
Fri, 02 Sep 2022 08:15:16 -0700 |
Branch: refs/heads/staging
Home: https://github.com/qemu/qemu
Commit: d409373b9d0482bbce312539d02a648cbb1c790a
https://github.com/qemu/qemu/commit/d409373b9d0482bbce312539d02a648cbb1c790a
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M include/sysemu/os-win32.h
M meson.build
M util/qemu-sockets.c
Log Message:
-----------
util/qemu-sockets: Enable unix socket support on Windows
Support for the unix socket has existed both in BSD and Linux for the
longest time, but not on Windows. Since Windows 10 build 17063 [1],
the native support for the unix socket has come to Windows. Starting
this build, two Win32 processes can use the AF_UNIX address family
over Winsock API to communicate with each other.
[1] https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/
Signed-off-by: Xuzhou Cheng <xuzhou.cheng@windriver.com>
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220802075200.907360-3-bmeng.cn@gmail.com>
Commit: 120fa5e0e6ebacd811e4d830cff8a405806d305c
https://github.com/qemu/qemu/commit/120fa5e0e6ebacd811e4d830cff8a405806d305c
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M chardev/char-socket.c
Log Message:
-----------
chardev/char-socket: Update AF_UNIX for Windows
Now that AF_UNIX has come to Windows, update the existing logic in
qemu_chr_compute_filename() and qmp_chardev_open_socket() for Windows.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220802075200.907360-4-bmeng.cn@gmail.com>
Commit: 0370f239ad14aeacc496775e241b9ef041df4374
https://github.com/qemu/qemu/commit/0370f239ad14aeacc496775e241b9ef041df4374
Author: Bin Meng <bin.meng@windriver.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M tests/unit/socket-helpers.c
M tests/unit/socket-helpers.h
M tests/unit/test-io-channel-socket.c
Log Message:
-----------
tests/unit: Update test-io-channel-socket.c for Windows
Change to dynamically include the test cases by checking AF_UNIX
availability using a new helper socket_check_afunix_support().
With such changes testing on a Windows host can be covered as well.
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20220802075200.907360-5-bmeng.cn@gmail.com>
Commit: 0f957c53c84d655f2e99677d407cf2bbe1832de4
https://github.com/qemu/qemu/commit/0f957c53c84d655f2e99677d407cf2bbe1832de4
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M audio/audio.c
M audio/audio.h
M softmmu/vl.c
Log Message:
-----------
audio: exit(1) if audio backend failed to be found or initialized
If you specify a known backend but it isn't compiled in, or failed to
initialize, you get a simple warning and the "none" backend as a
fallback, and QEMU runs happily:
$ qemu-system-x86_64 -audiodev id=audio,driver=dsound
audio: Unknown audio driver `dsound'
audio: warning: Using timer based audio emulation
...
Instead, QEMU should fail to start:
$ qemu-system-x86_64 -audiodev id=audio,driver=dsound
audio: Unknown audio driver `dsound'
$
Resolves:
https://bugzilla.redhat.com/show_bug.cgi?id=1983493
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Volker Rümelin <vr_qemu@t-online.de>
Message-Id: <20220822131021.975656-1-marcandre.lureau@redhat.com>
Commit: 9fd704da6809f3e01d0283f0d6d619022d481fb9
https://github.com/qemu/qemu/commit/9fd704da6809f3e01d0283f0d6d619022d481fb9
Author: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2022-09-02 (Fri, 02 Sep 2022)
Changed paths:
M audio/audio.c
M audio/audio.h
M chardev/char-socket.c
M include/sysemu/os-win32.h
M meson.build
M softmmu/vl.c
M tests/unit/socket-helpers.c
M tests/unit/socket-helpers.h
M tests/unit/test-io-channel-socket.c
M util/qemu-sockets.c
Log Message:
-----------
Merge tag 'char-pull-request' of https://gitlab.com/marcandre.lureau/qemu
into staging
chardev patches & small audio fix
# -----BEGIN PGP SIGNATURE-----
#
# iQJQBAABCAA6FiEEh6m9kz+HxgbSdvYt2ujhCXWWnOUFAmMSAXYcHG1hcmNhbmRy
# ZS5sdXJlYXVAcmVkaGF0LmNvbQAKCRDa6OEJdZac5YvaD/9VUIy96LZUGIexEhLj
# IT804yjCtSl9iV7/V7oivIPr9IpTKnUQS/yqbX8B8Afc6uQHDQRrhoNmuDRb3gCo
# V4XhZxZTzUvwJ/FUp35tgsEvqTMsK9taVrPtwVB9VJ3c7OkjvJGn1Q9+Di7WbsuZ
# +rZVR7+1IxkFpIqxBiSqdjHCkqSsAYtaL7wqSnpwiz3jw1nbL25iheo3gylNJbg5
# tfxLLJDFUs9Qqf04iVFtMv9vKoXZDBlCLEiCaCHbpzMXylP6t82oRoj3j2XioqvS
# 9dc3NNcWqTg5Srx1HJ95V8jPnUqLXD91fw9EqD+v0Va1l1JZ+2lGvqnTWDRZfBl3
# 2WZ23oHgwPSgFUyArmrSMX6qRG+f29NHA+r6F5ebVm8AzCP/QkhIqY/EJx8te77C
# 6cN8xS8LDkiL6fsJ5r5ZXViaCgvC33oLSmBQ/wVAJtNChYykmFUBw66Wc+ySSM/L
# HqNNflM1vWHnAc4/EqQT9PYV7cl5Ooss7i1lDIXu5tEpWtBFzV5OFtGE+njfQJ4B
# gpe0zhwXM/+fRyGvDnCkwINTQMgoKku12nTTE9NBpMWxlhW9BtCpY92Ht5BJmNVj
# b+ylbZaTiGBjHfshx0UlZ4vsDDy5gA28gJa7S6cs/Ak7TMLjwqj0Av+upUYt3PBW
# 8A1IB2wL91sFESh5RrMJCg4Bbg==
# =jtDp
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri 02 Sep 2022 09:13:26 EDT
# gpg: using RSA key 87A9BD933F87C606D276F62DDAE8E10975969CE5
# gpg: issuer "marcandre.lureau@redhat.com"
# gpg: Good signature from "Marc-André Lureau <marcandre.lureau@redhat.com>"
[full]
# gpg: aka "Marc-André Lureau <marcandre.lureau@gmail.com>"
[full]
# Primary key fingerprint: 87A9 BD93 3F87 C606 D276 F62D DAE8 E109 7596 9CE5
* tag 'char-pull-request' of https://gitlab.com/marcandre.lureau/qemu:
audio: exit(1) if audio backend failed to be found or initialized
tests/unit: Update test-io-channel-socket.c for Windows
chardev/char-socket: Update AF_UNIX for Windows
util/qemu-sockets: Enable unix socket support on Windows
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Compare: https://github.com/qemu/qemu/compare/e5f2c67834bb...9fd704da6809
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] d40937: util/qemu-sockets: Enable unix socket support on W...,
Paolo Bonzini <=