Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Apr 2017 05:13:27 +0000 (UTC)
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317543 - head/usr.sbin/bhyve
Message-ID:  <201704280513.v3S5DRYU067517@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: glebius
Date: Fri Apr 28 05:13:27 2017
New Revision: 317543
URL: https://svnweb.freebsd.org/changeset/base/317543

Log:
  When no "rfb" configuration specified bind to the default VNC
  port instead of binding to a random one.

Modified:
  head/usr.sbin/bhyve/pci_fbuf.c

Modified: head/usr.sbin/bhyve/pci_fbuf.c
==============================================================================
--- head/usr.sbin/bhyve/pci_fbuf.c	Fri Apr 28 05:09:51 2017	(r317542)
+++ head/usr.sbin/bhyve/pci_fbuf.c	Fri Apr 28 05:13:27 2017	(r317543)
@@ -365,6 +365,8 @@ pci_fbuf_init(struct vmctx *ctx, struct 
 
 	sc->fsc_pi = pi;
 
+	sc->rfb_port = 5900;
+
 	error = pci_fbuf_parse_opts(sc, opts);
 	if (error != 0)
 		goto done;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704280513.v3S5DRYU067517>