From nobody Mon Mar 20 20:30:56 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PgRFr5S3Qz40Ccw; Mon, 20 Mar 2023 20:30:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PgRFr4lDNz3PbG; Mon, 20 Mar 2023 20:30:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679344256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mjbUycBgrmzyrfOs0ZsQAuwbL+7f37HXR726sdLXcAw=; b=BwBfgvgJvfWOrpYuwiQwz3r0yWPV6wdirHgo4/cV/vO3VFybjOzO1t3kirk7fftd3y/I3G J6xdMw2gkgqYUyIl7hMge6bCtQi2ks99RwPCLweCKPmTGesBZHbtWwuPqsMcuOTq2KlIh/ l4hRRfKV0y2zI5cV47htatYFi8GCVzhA6H3TQmiQIX5RYdzux/R3j9C9kfa2m5PBmM7xUM EwY5AsozEXIXb5/HwEalfFUbJ2MpKMgG2D5EDq17zNU+9O+jzqvUDPgb/IxN2ivtA0104Z u+t0+JzW84uKF23ObOzyehX0kllplBRd5F37lRLPCr/cM2gE5bwR1fkZI1BxRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679344256; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=mjbUycBgrmzyrfOs0ZsQAuwbL+7f37HXR726sdLXcAw=; b=PF59qHLeWB/OdMOB055jhCd9kwKdqVJBaBfgdHM4ZLbQMHEX9C4CL181Los3m1k+UADr6c fVgcvG1p1y9SSDQzHofsjG5Fa77kEln0Iqcg6MGRw1MViHaTMpSN7IvKoefzwWXuonZBhj 67o1qOAThRmG0bKzFzbVMrxv1PzwfF2Gl2Jt+RCYf6X9ZnBZVGqX8Ey/BVrNv0IZDrXgYy ljfhzSARGla4R1VEYlaSEPVs0eulAbgq0LUZ312jaoigCm7y0cKSMULhRIwHz/fHpfVgtO s6D3Hvci35aeLX/TWD+xPK/xJpNDvto6FWCt0cBUC8FiiEtPWR708uzP/Xpdew== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679344256; a=rsa-sha256; cv=none; b=STVQBBGzyx8H65u0zqxBaO0JJ5/VEhWjwyZYqjZ175rcGQ8fTqlEVXLK9xaq8GmzVhIapL 5yggMXb811GBFHTX8/CPc0si5P+z0h2cGJmUtd5HhFV/5R7QxZ/hKb1k2uXe3hEpkKYtWg x0nw0SMnTlCNfiJCwS7xFbtV6T0l1EhxcrI6QHGHx8wyCnIa6dEfgxnrUqIYkEr6M7F8O9 4yFrln6u0nwK8z1oMz/Q+HTQ5R/PCvxKYH09chzRmJNHsd8vNS9+Lln/FJJiT1wOwmbtHg elxqrUVjvH0L8SUCoMDH/99WDD/EiumwYzP85VN6XYiDeDCsC4hB73kYmS4Rzw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PgRFr3qDZzk6N; Mon, 20 Mar 2023 20:30:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32KKUujn060797; Mon, 20 Mar 2023 20:30:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32KKUupO060796; Mon, 20 Mar 2023 20:30:56 GMT (envelope-from git) Date: Mon, 20 Mar 2023 20:30:56 GMT Message-Id: <202303202030.32KKUupO060796@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: b59f9d03cd87 - main - vmrun: Expose bhyve's -G option List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b59f9d03cd87b721e22e1d2b37876d3d2a86a3f1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=b59f9d03cd87b721e22e1d2b37876d3d2a86a3f1 commit b59f9d03cd87b721e22e1d2b37876d3d2a86a3f1 Author: Mark Johnston AuthorDate: 2023-03-20 20:23:26 +0000 Commit: Mark Johnston CommitDate: 2023-03-20 20:26:54 +0000 vmrun: Expose bhyve's -G option MFC after: 1 week --- share/examples/bhyve/vmrun.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/share/examples/bhyve/vmrun.sh b/share/examples/bhyve/vmrun.sh index c3cd05356eea..9770ff459a67 100755 --- a/share/examples/bhyve/vmrun.sh +++ b/share/examples/bhyve/vmrun.sh @@ -58,7 +58,7 @@ usage() { "[-d ]" echo " [-e ] [-f ]" \ "[-F ]" - echo " [-H ]" + echo " [-G [w][address:]port] [-H ]" echo " [-I ] [-l ]" echo " [-L ]" echo " [-m ]" \ @@ -76,6 +76,7 @@ usage() { echo " -f: Use a specific UEFI firmware" echo " -F: Use a custom UEFI GOP framebuffer size" \ "(default: ${DEFAULT_VNCSIZE})" + echo " -G: bind the GDB stub to the specified address" echo " -H: host filesystem to export to the loader" echo " -i: force boot of the Installation CDROM image" echo " -I: Installation CDROM image location" \ @@ -132,7 +133,7 @@ vncport=${DEFAULT_VNCPORT} vncsize=${DEFAULT_VNCSIZE} tablet="" -while getopts aAc:C:d:e:Ef:F:g:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do +while getopts aAc:C:d:e:Ef:F:G:hH:iI:l:L:m:n:p:P:t:Tuvw c ; do case $c in a) bhyverun_opt="${bhyverun_opt} -a" @@ -165,6 +166,9 @@ 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) + bhyverun_opt="${bhyverun_opt} -G ${OPTARG}" + ;; H) host_base=`realpath ${OPTARG}` ;;