From nobody Mon Jul 7 07:29:18 2025 X-Original-To: virtualization@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 4bbG8G2gFSz60x3S for ; Mon, 07 Jul 2025 07:29:18 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bbG8G02GKz3jfP for ; Mon, 07 Jul 2025 07:29:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751873358; 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: in-reply-to:in-reply-to:references:references; bh=SEiyinV7NoaWjZ2bAGytCRt8qRcW52c9/cSCTP2/I6E=; b=wpvqbaveCGGuOAwZpNlDi3Pm8gSpkB/26MLYywes+2xzQeQOzCH5Qwg/i6hqQzMh7vA/Uc JOiCmQXmvlmqqhjwllYf6ZDkiP4q+TtWsveSAvGFzj9utQAhmC7bPRnzdWmPDbM5SdrEls slV272i7G0tFvc6/Xt/cKbpjRAokPdH2ITp3i6b1R3/lxmcs4c7NJkLjGxGYy5X0SJYtxT +wfy8VjIRWRFhU3JYxqVgbK0wT5jz0KKwPghhc1R9IA7wtZmhRapkKhWQRpToPmTYVtIFK vMWeuYaAP9M+aPzaam9HGOaEzO4D5ols5d+ePWN7VPjR/l0m4fppX/VaauC13A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1751873358; 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: in-reply-to:in-reply-to:references:references; bh=SEiyinV7NoaWjZ2bAGytCRt8qRcW52c9/cSCTP2/I6E=; b=BzcN4QDSVVF3zWUp8SlQTKFAe9GOg8bZva7FtY/B6QDMVUM+ZdzEMOqHTOyw/vkx4xvq81 jJpAUqIJmI95vb2I6bpiIpvFTnwQlS3Tou3E73HNXbfd88Ns0n/SR2WrFGoMpgoJ5WmJox /UN1NKz8kbCU1sEx/EmInkVVWPYJt6Eyx06UC17G2VLpMYob/HHnzwXAIt09ex7mjV7C19 jpx1oOZFYERSs3W9MB+oajG/cKAokHpisyBv5e4vSNY9Qsi28AMtzrT/eZdDstEKsayhXM lKLxuRI3AuIU0j3vuwGlNKP9tksJlcwgxeAvJsrHjx3XGmMzMrgM9RGnuLK4QA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1751873358; a=rsa-sha256; cv=none; b=VRUK9QqDjI/U6wXEiFzZVPrsaOnyQb+hAbO8K1cZZs1Y1I195UGUesdgliWrkHNP5raE+U an8nd3H3VpJu26qU7kLgZqa1QGsQBUtWD9Do3Fk1Optsb4MTonkELeppIqaOgNMNHHiw7a tBN9pr8kgZCYGDtQ1hSFjF1n9WTz+gq/bKZ6YqQSqNPxRNhlzMPS1uJ5Cd4KvNUOvcT6UM p6+3eaDfXRbFOoWBLGybOtgi2CxDdIwWMupwTUgUZzS2JhlQF+bISZripn1oS29WMyTpl0 bmrHDbBzW6AJ4ZhqydY+vmTH6XwyEbng/uqTcu54N2hBlrCdLGkxVx/nLx2bYw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4bbG8F6kYBzhdT for ; Mon, 07 Jul 2025 07:29:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 5677TH7X049162 for ; Mon, 7 Jul 2025 07:29:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5677THRu049161 for virtualization@FreeBSD.org; Mon, 7 Jul 2025 07:29:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 288022] sysutils/vm-bhyve: vm: ERROR: $vm_dir Date: Mon, 07 Jul 2025 07:29:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: bhyve X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version product component assigned_to Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D288022 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Version|14.3-RELEASE |Latest Product|Base System |Ports & Packages Component|conf |Individual Port(s) Assignee|virtualization@FreeBSD.org |ports-bugs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sat Jul 12 15:04:05 2025 X-Original-To: virtualization@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 4bfX0m4sBfz61yTL for ; Sat, 12 Jul 2025 15:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bfX0m2sdXz3vbl for ; Sat, 12 Jul 2025 15:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752332648; 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: in-reply-to:in-reply-to:references:references; bh=DA5y/FM+WORb6WKJYDVw+rknieBrxCB99bOxoxxn2bs=; b=xLnkK/O8ox5KoFnBW/eaRgoJTU/lw1aaGA6wyMOUtN2Pk+7DpJJBbgWlGPmkdwzJORPwKG opFSIYboHd5IRlScyZYjgMkAyYFxQyuioLNmNRJ2nE4Quc3OaPgvHFDvWyCxnDfqzZRuAi SK6jlwMKGrGwqOxTU7Mr7vWCkz2YfZlY2gnbFq45D08Nbs8US4vZNgR+Nu7z1v99bC9t0H 6tektyfBt4IropGolwao2iDEtJq55h8NEYieODiTrYsRlQ9sajgnzvS3nAcnz3esVg5pwV n7eBsHfoQxnDVlLbIlvnTsPGHXYRvp/s5rnaNJP00v8uRgJVvRB84Ngj9sX/rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1752332648; 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: in-reply-to:in-reply-to:references:references; bh=DA5y/FM+WORb6WKJYDVw+rknieBrxCB99bOxoxxn2bs=; b=lG5msvPAzlHUZKWL1tM5VtOI0V/J3mgmx+VLNyfRc3QqQVRagCE2Sr4iXaT3YXqQBH8Z9V rLF9JxBXuj8yA+aV5WrYarXRUpZHUQOPo02wivGzJMTSnpse8m+vVg8XMUPZx2xb9ilcSP Tsk9pZeAPXtzBPa/5B1m28YmnQx5TKfsPIKNRbKM6i7Qh1KFrHJxTY52Pcv/ec6RBsHNKY wCs1hT7X04Xk+5T0LzMDEP3N1qaPVOEoVzZ5TZP7VBQ504/+KHKZnPp7mMIo4KKoSMYbzK YC2Eqwa7buZwGK3Y21RyrUB5FbklONwarrjouwSpgDfCgNfEp+OOSXUgnmo3JA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1752332648; a=rsa-sha256; cv=none; b=MJNwI6kR3bWL7eUVzrXHZGURrszfRdufNT1rb+WdqYufl68tcPqbsRIPzyP1WyYFSH241W U0nZpOG4cOOUteT41vZuK0wK8+fPhtU9P3crPhMSx19pHCpCOQsz0nXlk2PRQz4F2VXHUh 9WpT/9QSW6zur+CYyHp7KS2K0Qr+9HyUHiAVMmtSAPXckMxtOy5OVK3eyT9NVA53jODQWe +BR2732WUy9DOyTlIt1/zD6cbh1qnfMWw6KrROPf1gWoGKurlsULDld/8ChxjmtkuPhVEy xbUYb/H6JelaLZeGwl7VM0Vzb/C4WhCsHg0cmXiMaID4nZlEDIfjMFijwtgH1A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4bfX0m2JPSzCWl for ; Sat, 12 Jul 2025 15:04:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 56CF48be009892 for ; Sat, 12 Jul 2025 15:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 56CF48eZ009891 for virtualization@FreeBSD.org; Sat, 12 Jul 2025 15:04:08 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 203643] [bhyve] NetBSD causes bhyve to exit on AMD processors Date: Sat, 12 Jul 2025 15:04:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: aokblast@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203643 ShengYi Hung changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aokblast@FreeBSD.org --- Comment #18 from ShengYi Hung --- (In reply to Mark Peek from comment #17) https://reviews.freebsd.org/D51256. Hello, I think it is the more proper wa= y to fix this problem. I have tested on the Opteron machine and it works. --=20 You are receiving this mail because: You are the assignee for the bug.= From nobody Sun Jul 13 13:43:10 2025 X-Original-To: freebsd-virtualization@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 4bg6Cm6Xfyz610C9 for ; Sun, 13 Jul 2025 13:45:40 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Received: from mail-ed1-x52f.google.com (mail-ed1-x52f.google.com [IPv6:2a00:1450:4864:20::52f]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4bg6Cl5G2gz3hWy for ; Sun, 13 Jul 2025 13:45:39 +0000 (UTC) (envelope-from bogorodskiy@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=cKh53Gol; spf=pass (mx1.freebsd.org: domain of bogorodskiy@gmail.com designates 2a00:1450:4864:20::52f as permitted sender) smtp.mailfrom=bogorodskiy@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=freebsd.org (policy=none) Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-60700a745e5so7236303a12.3 for ; Sun, 13 Jul 2025 06:45:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752414333; x=1753019133; darn=freebsd.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=lAfGdwHHeYqJ8TGcakq0bJ2fuHdYqVYwsf+ui5+S2IY=; b=cKh53GolgVHURVsf+t2TpPrG/xwlnXbmTkGxGMxzv+3IjOv3uSdktBRsuQKXnfvSl2 aGN4kd+UHfOkCQcCXJKZkI347qmRTveLFCdXs0zYg1UP6zcBWM6g5RwbuDb3XdE+gsE4 H5CoN5xapN6QaFjCM26GTqDNPgUkVly4W1c+/IZQWWkarepHn9+my2Cg9v4qMgHTCq/G y/x89y6AhPBiUxUkdtWqjfJGn9QekaWuiENeOaZNbH0ElhoCPqV7x2GCAu74IczEPhI/ xQ8hgnkOvzYcIu4THDBDAah+wB6uRSVFB3t4Lnq+2pC24UMsROm8miK2tG/aLYpvwo0s LZSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752414333; x=1753019133; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lAfGdwHHeYqJ8TGcakq0bJ2fuHdYqVYwsf+ui5+S2IY=; b=JJnWCi92e6Un+RmEJuYMWFf8g8Mx+EE52WlZ30/8zXi8gPU7u2bwwXx7e9jlRsvw91 AbvB1mIfqEWpRz5jdYqXfuxzmuaD+5Smo0SAwhG4/p7CDsW8Y93f0JID03Xkox5avRBy YSSrjnhLCETxNvxLcazt62Zhm9RiTSiLuALcQgeoOoy5YFsfJ4qVdwu2DiljIYiwJl4p 2c1Fqp0C2CRpCSORNhNe+3MArKcnydgX4RelTR3qsdrsGyzZw8OKtrJlOE3OBp6x9VrT 7AELZPXtNZGtAqZhQfLzeq2B0LwP42/ZdAF2Gn27+FMm5JFL5YQ2GXjQcfHBhcWbUThK /Lww== X-Gm-Message-State: AOJu0YwGRU+SmTPIm20AkA8X2PSaKQVjEsJ4qDk5ASghj8epZFjD2ZJc 58yXXmlboR4Y4A7ZC1sShBWSt+eIoZNGSKrflykYcLimW1aPDxxsT8FJ0IwrPFOKXIrkZQ== X-Gm-Gg: ASbGncvKLkxoM22HMjA5IzB4THNlPquPKloMJJaDlB9fAX+GKgIeSX/T1SofzNG7F49 5CYt6hdFpCCilUicNuW+/Tm2RrcdKOLq/5YxuREZEcZ8qi0n9x6fgr4OAXaiIljm5isUEw5wS6/ ajJ6reMCC6M9WgToHCLcAM9XQyqsT0ffZDljzQ2VBcbWLmFwV78oTb5KErAVqT9XHq07C8DXsVm n+pBWBrwwXYbogwiWcUe0rN0LIUphDZ/dwdQ6xaLjGf1gMN/13OJCHcJbSD8uwvKIZY/xVHI83H /YtkzMNmSZ9x5tLMXSEAkDExMuMuLI0nM/W/bnYpOqlJn9DyxUo9oVUW57vQNYtetNlwqRuV65v XqtWdkcuvUqBNTbPsr01DGibTXxNXU5XoGHAMKWvmQQvdwnlrM0Zi X-Google-Smtp-Source: AGHT+IEiMKJkkP9TJANHC1HL5NhVA2eJqRfLF1sA6/EHJ89d0ASVjp/3N+WS/D9FArxrk7MIhMYhDA== X-Received: by 2002:a17:906:dc8c:b0:ae0:d97d:7fa0 with SMTP id a640c23a62f3a-ae6fcbc283dmr725486866b.38.1752414332789; Sun, 13 Jul 2025 06:45:32 -0700 (PDT) Received: from tulp (80-115-115-199.cable.dynamic.v4.ziggo.nl. [80.115.115.199]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ae6e7ee4607sm663576166b.57.2025.07.13.06.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jul 2025 06:45:32 -0700 (PDT) Date: Sun, 13 Jul 2025 15:43:10 +0200 From: Roman Bogorodskiy To: John-Mark Gurney Cc: freebsd-virtualization@freebsd.org Subject: Re: bhyve: detecting TCP console support Message-ID: References: <20250620014734.GC4297@funkthat.com> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250620014734.GC4297@funkthat.com> X-Spamd-Result: default: False [-0.41 / 15.00]; NEURAL_SPAM_LONG(1.00)[0.998]; NEURAL_HAM_MEDIUM(-0.95)[-0.954]; NEURAL_HAM_SHORT(-0.86)[-0.858]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_SENDER(0.30)[novel@freebsd.org,bogorodskiy@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), DKIM not aligned (relaxed),none]; MIME_GOOD(-0.10)[text/plain]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_NEQ_ENVFROM(0.00)[novel@freebsd.org,bogorodskiy@gmail.com]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::52f:from] X-Rspamd-Queue-Id: 4bg6Cl5G2gz3hWy X-Spamd-Bar: / John-Mark Gurney wrote: > Roman Bogorodskiy wrote this message on Thu, Jun 19, 2025 at 18:50 +0200: > > Hi, > > > > Is there a way to check if the given bhyve binary supports tcp console, > > such as "... -l com1,tcp="? > > > > I've been using various workarounds to detect bhyve features for quite > > some time, including parsing of the "bhyve -h" output or running "bhyve > > -s 0," and see if reports unknown device etc, but apparently none > > of that works for the tcp console. > > > > Am I missing something or is it really not possible? > > Likely the current best way is to use `uname -U`, and have a table to > check which version the feature was added. Less than ideal, in that > you'll have to dig that info up, but not entirely terribly hard to do. > > Use git blame to figure out commit hash when a feature was added, then > use: > git show :sys/sys/param.h | grep __FreeBSD_version > > to fetch it. Annoyingly, this will may need to be done for each stable > branch as features are backported. > > This obviously doesn't solve the problem where someone in place upgraded > bhyve, but that shouldn't be common, and if they did that, they should > know that they might break things. It's not terribly hard to do, but cumbersome enough not to do it. Also, it's not quite accurate, obviously, because there's no direct mapping of __FreeBSD_version bumps to bhyve features. Not sure how uncommon is the inplace upgrade usecase, but I use it from time to time to test patches that are not committed yet, and approach like that complicates things. I would not say that the inplace upgrade "breaks things" in this specific case, it's just that approach is not accurate enough. Quite some time ago I've proposed a different approach which I think is more accurate: https://reviews.freebsd.org/D15992. Sadly, it didn't move anywhere, though I was able to work around the lack of feature detection by various hacks like analyzing error message outputs (which is already not super reliable though). TCP console is, unfortunately, the first feature that I wasn't able to find detection workaround for. Roman