Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jan 2021 13:16:59 GMT
From:      Poul-Henning Kamp <phk@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 3d4ce4edd86d - main - Remove -g option support which was removed from bhyve in c4df8cbfde53c376d93f439eac3f45a7b4fc705e
Message-ID:  <202101041316.104DGxNQ087822@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by phk:

URL: https://cgit.FreeBSD.org/src/commit/?id=3d4ce4edd86de8359267792be65d6ca20e1cf619

commit 3d4ce4edd86de8359267792be65d6ca20e1cf619
Author:     Poul-Henning Kamp <phk@FreeBSD.org>
AuthorDate: 2021-01-04 13:15:50 +0000
Commit:     Poul-Henning Kamp <phk@FreeBSD.org>
CommitDate: 2021-01-04 13:15:50 +0000

    Remove -g option support which was removed from bhyve in
    c4df8cbfde53c376d93f439eac3f45a7b4fc705e
---
 share/examples/bhyve/vmrun.sh | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh
index 607597015e62..bfc2aad2cb8c 100755
--- a/share/examples/bhyve/vmrun.sh
+++ b/share/examples/bhyve/vmrun.sh
@@ -58,7 +58,7 @@ usage() {
 	    "[-d <disk file>]"
 	echo "                [-e <name=value>] [-f <path of firmware>]" \
 	    "[-F <size>]"
-	echo "                [-g <gdbport> ] [-H <directory>]"
+	echo "                 [-H <directory>]"
 	echo "                [-I <location of installation iso>] [-l <loader>]"
 	echo "                [-L <VNC IP for UEFI framebuffer>]"
 	echo "                [-m <memsize>]" \
@@ -76,7 +76,6 @@ usage() {
 	echo "       -f: Use a specific UEFI firmware"
 	echo "       -F: Use a custom UEFI GOP framebuffer size" \
 	    "(default: ${DEFAULT_VNCSIZE})"
-	echo "       -g: listen for connection from kgdb at <gdbport>"
 	echo "       -H: host filesystem to export to the loader"
 	echo "       -i: force boot of the Installation CDROM image"
 	echo "       -I: Installation CDROM image location" \
@@ -120,7 +119,6 @@ nic=${DEFAULT_NIC}
 tap_total=0
 disk_total=0
 disk_emulation=${DEFAULT_DISK}
-gdbport=0
 loader_opt=""
 bhyverun_opt="-H -A -P"
 pass_total=0
@@ -167,9 +165,6 @@ while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do
 	F)
 		vncsize="${OPTARG}"
 		;;
-	g)	
-		gdbport=${OPTARG}
-		;;
 	H)
 		host_base=`realpath ${OPTARG}`
 		;;
@@ -367,7 +362,6 @@ while [ 1 ]; do
 	fi
 
 	${FBSDRUN} -c ${cpus} -m ${memsize} ${bhyverun_opt}		\
-		-g ${gdbport}						\
 		-s 0:0,hostbridge					\
 		-s 1:0,lpc						\
 		${efiargs}						\



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