svn commit: r320891 - stable/11/usr.sbin/bhyve
Peter Grehan
grehan at FreeBSD.org
Tue Jul 11 06:39:13 UTC 2017
Author: grehan
Date: Tue Jul 11 06:39:12 2017
New Revision: 320891
URL: https://svnweb.freebsd.org/changeset/base/320891
Log:
MFC r317542, r317543, r317543
317542 comment fix
317543 set rfb default port
317543 listen on localhost by default for rfb
Modified:
stable/11/usr.sbin/bhyve/pci_fbuf.c
stable/11/usr.sbin/bhyve/pci_xhci.c
stable/11/usr.sbin/bhyve/rfb.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/usr.sbin/bhyve/pci_fbuf.c
==============================================================================
--- stable/11/usr.sbin/bhyve/pci_fbuf.c Tue Jul 11 05:49:42 2017 (r320890)
+++ stable/11/usr.sbin/bhyve/pci_fbuf.c Tue Jul 11 06:39:12 2017 (r320891)
@@ -55,7 +55,7 @@ __FBSDID("$FreeBSD$");
* BAR0 points to the current mode information.
* BAR1 is the 32-bit framebuffer address.
*
- * -s <b>,fbuf,wait,tcp=<ip>:port,w=width,h=height
+ * -s <b>,fbuf,wait,vga=on|io|off,rfb=<ip>:port,w=width,h=height
*/
static int fbuf_debug = 1;
Modified: stable/11/usr.sbin/bhyve/pci_xhci.c
==============================================================================
--- stable/11/usr.sbin/bhyve/pci_xhci.c Tue Jul 11 05:49:42 2017 (r320890)
+++ stable/11/usr.sbin/bhyve/pci_xhci.c Tue Jul 11 06:39:12 2017 (r320891)
@@ -28,7 +28,7 @@
-s <n>,xhci,{devices}
devices:
- ums USB tablet mouse
+ tablet USB tablet mouse
*/
#include <sys/cdefs.h>
__FBSDID("$FreeBSD$");
Modified: stable/11/usr.sbin/bhyve/rfb.c
==============================================================================
--- stable/11/usr.sbin/bhyve/rfb.c Tue Jul 11 05:49:42 2017 (r320890)
+++ stable/11/usr.sbin/bhyve/rfb.c Tue Jul 11 06:39:12 2017 (r320891)
@@ -1003,11 +1003,11 @@ rfb_init(char *hostname, int port, int wait, char *pas
sin.sin_len = sizeof(sin);
sin.sin_family = AF_INET;
- sin.sin_port = htons(port);
+ sin.sin_port = port ? htons(port) : htons(5900);
if (hostname && strlen(hostname) > 0)
inet_pton(AF_INET, hostname, &(sin.sin_addr));
else
- sin.sin_addr.s_addr = htonl(INADDR_ANY);
+ sin.sin_addr.s_addr = htonl(INADDR_LOOPBACK);
if (bind(rc->sfd, (struct sockaddr *)&sin, sizeof(sin)) < 0) {
perror("bind");
More information about the svn-src-all
mailing list