[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/11] Allow UNIX socket option for VNC websocket
From: |
marcandre . lureau |
Subject: |
[PULL 01/11] Allow UNIX socket option for VNC websocket |
Date: |
Tue, 14 May 2024 17:17:15 +0400 |
From: Sergii Zasenko <sergii@zasenko.name>
- Remove unix socket option limitation for VNC websocket
- Reflect websocket option changes in documentation
Signed-off-by: Sergii Zasenko <sergii@zasenko.name>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20230724100353.16628-1-sergii@zasenko.name>
---
ui/vnc.c | 5 -----
qemu-options.hx | 4 ++++
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/ui/vnc.c b/ui/vnc.c
index b3fd78022b..dd530f04e5 100644
--- a/ui/vnc.c
+++ b/ui/vnc.c
@@ -3734,11 +3734,6 @@ static int vnc_display_get_address(const char *addrstr,
addr->type = SOCKET_ADDRESS_TYPE_UNIX;
addr->u.q_unix.path = g_strdup(addrstr + 5);
- if (websocket) {
- error_setg(errp, "UNIX sockets not supported with websock");
- goto cleanup;
- }
-
if (to) {
error_setg(errp, "Port range not support with UNIX socket");
goto cleanup;
diff --git a/qemu-options.hx b/qemu-options.hx
index f5c01eeeb4..4d19660336 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -2516,6 +2516,10 @@ SRST
host. It is possible to control the websocket listen address
independently, using the syntax ``websocket``\ =host:port.
+ Websocket could be allowed over UNIX domain socket, using the syntax
+ ``websocket``\ =unix:path, where path is the location of a unix socket
+ to listen for connections on.
+
If no TLS credentials are provided, the websocket connection
runs in unencrypted mode. If TLS credentials are provided, the
websocket connection requires encrypted client connections.
--
2.41.0.28.gd7d8841f67
- [PULL 00/11] Ui patches, marcandre . lureau, 2024/05/14
- [PULL 02/11] ui/gtk: Draw guest frame at refresh cycle, marcandre . lureau, 2024/05/14
- [PULL 01/11] Allow UNIX socket option for VNC websocket,
marcandre . lureau <=
- [PULL 04/11] ui/console: new dmabuf.h and dmabuf.c for QemuDmaBuf struct and helpers, marcandre . lureau, 2024/05/14
- [PULL 07/11] ui/console: Use qemu_dmabuf_new() and free() helpers instead, marcandre . lureau, 2024/05/14
- [PULL 03/11] ui/gtk: Check if fence_fd is equal to or greater than 0, marcandre . lureau, 2024/05/14
- [PULL 05/11] ui/console: Use qemu_dmabuf_get_..() helpers instead, marcandre . lureau, 2024/05/14
- [PULL 08/11] ui/console: move QemuDmaBuf struct def to dmabuf.c, marcandre . lureau, 2024/05/14
- [PULL 09/11] ui/gtk: Add gd_motion_event trace event, marcandre . lureau, 2024/05/14
- [PULL 06/11] ui/console: Use qemu_dmabuf_set_..() helpers instead, marcandre . lureau, 2024/05/14