From nobody Mon Mar 27 12:51:42 2023 X-Original-To: dev-commits-src-branches@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 4PlXkl0Dfcz42DnH; Mon, 27 Mar 2023 12:51:43 +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 4PlXkk6nMmz3lt7; Mon, 27 Mar 2023 12:51:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679921503; 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=uQknzjTrng8HWo/5K4HCONWQlOJKq3BZkkNvzmpLwJI=; b=qy2YpKF4FahO8zOQOhzpvQ7YqZYiVdigMnfAzt7AtYDsQgtTZqymYmDxSIAci5idDNXqnQ 0mefAxRHkPJivHCDPbaFjJZwR1Ehh99a6M/nVDCHbXucGDKAUmrwBargz91OLZA3w19Cie AdThFDku64WufZIHCJSOzH5/vrGZ6Zj0kkQDKjzTbbjMWl6It4X5jcSs5oe5SdX4P7Dmrp unS0Oe8UJWZIv30JI/Fmh7fM3ez+u2Z6iVzum3HLiLOUQ2t0mnju6awvjpfbm/DwyCDGrJ T9RRdKACBxmvNQTpI/v22NY/lW5F9/MboPBfTMVcITe8bBSjivrpFFG64U2u3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679921503; 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=uQknzjTrng8HWo/5K4HCONWQlOJKq3BZkkNvzmpLwJI=; b=P5Nir4eDNte9lbv+jzTIXQE++nhiclHNIQMTc3JUZYkwrA8Kd3PfKjhcns4X58GdLIYhnW 2CmujgnvZzfalAlVMUXEpLgt67qU/vfnsTmEp8EwCaW7X3zP6uXOG9KuHbMz/cRXx46mw1 K4W2A/zT2BXx0TeBMASzzW2OcMWNqlHbar5g2loFpZSrj4zKV6ZaQVab0Xi8E8ujSdXS5y 6Mex9Og3MHwPKfoDRoEUw/G/VGD9PhT4G9qUqJFXdu5lhZlMtCrO5Vi4S1V0NpeVivrncU 43Xv1l7llC2DmQadP/DK85I6tUC3Jpksm3l1u8wyTFAl6bWXITJtTgIjOOEeNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679921503; a=rsa-sha256; cv=none; b=txcpGXzC1WUrpO8ysFaVk9092vkrosdjNTPuLXfYTA0eJm08dtoTk6ht9lMZEz3kIoov6j eJivo47CwFkrA43IqUCGb+gPnKv5zt75HS0lIPZqwH6Ib2GHT0jpbZFEaEzhn4A9C1fhG8 LDTEeuuR4RCbpJFDYyvtWIYUrW3Ckkmed9jcEXjuoH1DnKVy9KlAunRhoXgeHumltWRjV8 ZNbVu2PX++iogkduysZD4xR8ig3eyqDfF/TtfwYtuWIV33T2kTiMZYEIXY7Ft7R6xfgrgL d5P3TA1jc5hydhKPP5U3OXdUmBmW/LtJMZTj+2cF6nW/d6RkuoqJRHQ1FZxQ6A== 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 4PlXkk5qQXzNY7; Mon, 27 Mar 2023 12:51:42 +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 32RCpgmp005810; Mon, 27 Mar 2023 12:51:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32RCpg9X005809; Mon, 27 Mar 2023 12:51:42 GMT (envelope-from git) Date: Mon, 27 Mar 2023 12:51:42 GMT Message-Id: <202303271251.32RCpg9X005809@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 743f4ba7e3bd - stable/13 - vmrun: Expose bhyve's -G option List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@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/stable/13 X-Git-Reftype: branch X-Git-Commit: 743f4ba7e3bd647f77f0e613de67005ade5db51f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=743f4ba7e3bd647f77f0e613de67005ade5db51f commit 743f4ba7e3bd647f77f0e613de67005ade5db51f Author: Mark Johnston AuthorDate: 2023-03-20 20:23:26 +0000 Commit: Mark Johnston CommitDate: 2023-03-27 12:49:39 +0000 vmrun: Expose bhyve's -G option MFC after: 1 week (cherry picked from commit b59f9d03cd87b721e22e1d2b37876d3d2a86a3f1) --- 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}` ;;