mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Allow UNIX socket option for VNC websocket
- 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>
This commit is contained in:
parent
9360070196
commit
41582637b1
2 changed files with 4 additions and 5 deletions
5
ui/vnc.c
5
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue