#
dda0f983 |
| 09-Sep-2024 |
Mark Peek <mp@FreeBSD.org> |
bhyve: support noVNC SetPixelFormat request
The bhyve VNC server would ignore the SetPixelFormat message from the VNC client. This change supports a limited implementation to detect and reorder the
bhyve: support noVNC SetPixelFormat request
The bhyve VNC server would ignore the SetPixelFormat message from the VNC client. This change supports a limited implementation to detect and reorder the colors such as requested from the noVNC client.
PR: 280984 Reviewed by: corvink Differential Revision: https://reviews.freebsd.org/D46402 MFC after: 3 weeks
show more ...
|
Revision tags: release/14.1.0, release/13.3.0 |
|
#
4d65a7c6 |
| 24-Nov-2023 |
Warner Losh <imp@FreeBSD.org> |
usr.sbin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
usr.sbin: Automated cleanup of cdefs and other formatting
Apply the following automated changes to try to eliminate no-longer-needed sys/cdefs.h includes as well as now-empty blank lines in a row.
Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/ Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/ Remove /\n+#if.*\n#endif.*\n+/ Remove /^#if.*\n#endif.*\n/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/ Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/
Sponsored by: Netflix
show more ...
|
Revision tags: release/14.0.0 |
|
#
1d386b48 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line .c pattern
Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
|
#
4d846d26 |
| 10-May-2023 |
Warner Losh <imp@FreeBSD.org> |
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of
spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD
The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause.
Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
show more ...
|
Revision tags: release/13.2.0, release/12.4.0 |
|
#
04336c05 |
| 27-Oct-2022 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Make sure that the VNC version is initialized
clang warned that "client_ver" can be left uninitialized. This change causes the new connection to be dropped if a version string is not present
bhyve: Make sure that the VNC version is initialized
clang warned that "client_ver" can be left uninitialized. This change causes the new connection to be dropped if a version string is not presented.
MFC after: 1 week Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D37117
show more ...
|
#
63898728 |
| 22-Oct-2022 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Avoid arithmetic on void pointers
No functional change intended.
MFC after: 1 week
|
#
98d920d9 |
| 08-Oct-2022 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Annotate unused function parameters
MFC after: 1 week
|
#
d06bf11c |
| 16-Aug-2022 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Sprinkle const qualifiers where appropriate
No functional change intended.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
37045dfa |
| 16-Aug-2022 |
Mark Johnston <markj@FreeBSD.org> |
bhyve: Mark variables and functions as static where appropriate
Mark them const as well when it makes sense to do so. No functional change intended.
MFC after: 1 week Sponsored by: The FreeBSD Fou
bhyve: Mark variables and functions as static where appropriate
Mark them const as well when it makes sense to do so. No functional change intended.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
show more ...
|
Revision tags: release/13.1.0, release/12.3.0 |
|
#
b563ff5d |
| 21-Apr-2021 |
Michael Reifenberger <mr@FreeBSD.org> |
Append Keyboard Layout specified option for using VNC. Part one: supporting QEMU Extended Keyboard Event Message
PR: 246121 Submitted by: koinec@yahoo.co.jp Differential Revision: http
Append Keyboard Layout specified option for using VNC. Part one: supporting QEMU Extended Keyboard Event Message
PR: 246121 Submitted by: koinec@yahoo.co.jp Differential Revision: https://reviews.freebsd.org/D29430
show more ...
|
Revision tags: release/13.0.0 |
|
#
2bb4be0f |
| 18-Dec-2020 |
Peter Grehan <grehan@FreeBSD.org> |
Fix issues with various VNC clients.
- support VNC version 3.3 (macos "Screen Sharing" builtin client) - wait until client has requested an update prior to sending framebuffer data - don't send an u
Fix issues with various VNC clients.
- support VNC version 3.3 (macos "Screen Sharing" builtin client) - wait until client has requested an update prior to sending framebuffer data - don't send an update if no framebuffer updates detected - increase framebuffer poll frequency to 30Hz, and double that when kbd/mouse input detected - zero uninitialized array elements in rfb_send_server_init_msg() - fix overly large allocation in rfb_init() - use atomics for flags shared between input and output threads - use #defines for constants
This work was contributed by Marko Kiiskila, with reuse of some earlier work by Henrik Gulbrandsen.
Clients tested : FreeBSD-current - tightvnc - tigervnc - krdc - vinagre
Linux (Ubuntu) - krdc - vinagre - tigervnc - xtightvncviewer - remmina
MacOS - VNC Viewer - TigerVNC - Screen Sharing (builtin client)
Windows 10 - Tiger VNC - VNC Viewer (cursor lag) - UltraVNC (cursor lag)
o/s independent - noVNC (browser) using websockify relay
PR: 250795 Submitted by: Marko Kiiskila <marko@apache.org> Reviewed by: jhb (bhyve) MFC after: 3 weeks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D27605
show more ...
|
Revision tags: release/12.2.0, release/11.4.0 |
|
#
a717adb5 |
| 18-Mar-2020 |
Rebecca Cran <bcran@FreeBSD.org> |
Bhyve: log message when rfb client connects
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D24098
|
#
75dfc66c |
| 27-Feb-2020 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r358269 through r358399.
|
#
98ee12e6 |
| 27-Feb-2020 |
John Baldwin <jhb@FreeBSD.org> |
Use stream_read() to read all 12 bytes of the RFB client version.
read() can return a short read, whereas stream_read() waits until the full version string is read.
Submitted by: Ka Ho Ng <khng300_
Use stream_read() to read all 12 bytes of the RFB client version.
read() can return a short read, whereas stream_read() waits until the full version string is read.
Submitted by: Ka Ho Ng <khng300_gmail.com> Reviewed by: grehan MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23591
show more ...
|
#
332eff95 |
| 08-Jan-2020 |
Vincenzo Maffione <vmaffione@FreeBSD.org> |
bhyve: add wrapper for debug printf statements
Add printf() wrapper to use CR/CRLF terminators depending on whether stdio is mapped to a tty open in raw mode. Try to use the wrapper everywhere. For
bhyve: add wrapper for debug printf statements
Add printf() wrapper to use CR/CRLF terminators depending on whether stdio is mapped to a tty open in raw mode. Try to use the wrapper everywhere. For now we leave the custom DPRINTF/WPRINTF defined by device models, but we may remove them in the future.
Reviewed by: grehan, jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D22657
show more ...
|
#
9b078661 |
| 19-Dec-2019 |
John Baldwin <jhb@FreeBSD.org> |
Trim a spurious carriage return from the RFB signature string added in r355301.
Submitted by: Yamagi <lists@yamagi.org>
|
#
79c1428e |
| 02-Dec-2019 |
Vincenzo Maffione <vmaffione@FreeBSD.org> |
bhyve: uniform printf format string newlines
Some of the printf statements only use LF to get a newline. However, a CR character is also required for the serial console to print debug logs in a nice
bhyve: uniform printf format string newlines
Some of the printf statements only use LF to get a newline. However, a CR character is also required for the serial console to print debug logs in a nice way. Fix those code locations that only use LF, by adding a CR character.
Reviewed by: markj, aleksandr.fedorov@itglobal.com MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D22552
show more ...
|
Revision tags: release/12.1.0 |
|
#
a63915c2 |
| 28-Jul-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @r350386
Sponsored by: The FreeBSD Foundation
|
#
2a1950b9 |
| 11-Jul-2019 |
Sean Chittenden <seanc@FreeBSD.org> |
usr.sbin/bhyve: free resources if there is an initialization error in rfb
Coverity CID: 1357335 Approved by: markj, jhb Differential Revision: https://reviews.freebsd.org/D20919
|
Revision tags: release/11.3.0 |
|
#
e532a999 |
| 20-Jun-2019 |
Alan Somers <asomers@FreeBSD.org> |
MFHead @349234
Sponsored by: The FreeBSD Foundation
|
#
ab877e64 |
| 19-Jun-2019 |
Mark Johnston <markj@FreeBSD.org> |
Make zlib encoding messages idempotent.
Otherwise duplicate messages can trigger a reinitialization of the compression stream while the update thread is running. Also ensure that the stream is init
Make zlib encoding messages idempotent.
Otherwise duplicate messages can trigger a reinitialization of the compression stream while the update thread is running. Also ensure that the stream is initialized before the update thread may attempt to use it.
PR: 238333 Reviewed by: cem, rgrimes MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20673
show more ...
|
#
abfa3c39 |
| 16-Jan-2019 |
Marcelo Araujo <araujo@FreeBSD.org> |
Use capsicum_helpers(3) that allow us to simplify the code and its functions will return success when the kernel is built without support of the capability mode.
It is important to note, that I'm ta
Use capsicum_helpers(3) that allow us to simplify the code and its functions will return success when the kernel is built without support of the capability mode.
It is important to note, that I'm taking a more conservative approach with these changes and it will be done in small steps.
Reviewed by: jhb MFC after: 6 weeks Differential Revision: https://reviews.freebsd.org/D18744
show more ...
|
Revision tags: release/12.0.0 |
|
#
fda9adaf |
| 27-Oct-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339670 through r339812.
|
#
8883128b |
| 24-Oct-2018 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Allow the bhyve VNC server to listen on IPv6 for incoming connections.
Alternatively to IPv4 address:port this will allow to listen on IPv6 link-local (incl. scope), a specific address, or ::. Addr
Allow the bhyve VNC server to listen on IPv6 for incoming connections.
Alternatively to IPv4 address:port this will allow to listen on IPv6 link-local (incl. scope), a specific address, or ::. Addresses have to be given in RFC2732 format so that [::]:port parsing will work.
This patch also starts to introduce WITH_INET/INET6_SUPPORT to bhyve.
PR: 232018 Submitted by: Dave Rush (northwoodlogic.free gmail.com) (original) Reviewed by: Dave Rush (updated verison) MFC after: 3 days
show more ...
|
Revision tags: release/11.2.0 |
|
#
f7224b70 |
| 14-Jun-2018 |
Marcelo Araujo <araujo@FreeBSD.org> |
Fix style(9) space vs tab.
Reviewed by: jhb MFC after: 3 weeks. Sponsored by: iXsystems Inc. Differential Revision: https://reviews.freebsd.org/D15768
|