From nobody Thu Apr 23 17:15:31 2026 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 4g1jQr6SWqz6b8V3 for ; Thu, 23 Apr 2026 17:15:32 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g1jQr5tGvz3HmN for ; Thu, 23 Apr 2026 17:15:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776964532; 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=qOlvvZQ/mHnmZwcu9uro23Zkydq4x3BBu2rQUN8hJ4Y=; b=qhIMy8QD5Pfe2ztpoJBIWgwDbOa7nGBH9s+tj734XS/ghUuVOpn8/AMc7Z0aQh6uI4lI/Y Lr69ucwvEWSPVWgPd6sTJZNyXv1LVTUcARUkH+4LYYHgIijanocpT6Ec2J8tNGtdQ7xYRB LqNnhKukbBv74irtZIQdRZYPhguF8gdI2K4NccEObomWenjMK3tlhnLnZIW1x/pXAGdJ/D +L8tzoDxDAuMIrdD4aXB3OIHomLEk9RlgZ7Bi79hDK7C5ZT/RTwXQD/EHJzvONT1mTQ6tS FEYoe/lr6SSK8Qm1Ecuw8tVmEIfgSqj78SyWlVWocgv7PHjACnJNw6HqLJy0Ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776964532; a=rsa-sha256; cv=none; b=EqumO+Ewtgzxyr5LDWf6hH0Ut40dCVEhVUHKi+gQGvIWvm1hHugctptKj0FZTgOk4Wm6+D g9XOaod7PvDqiK2mFnvTpHdSTa9LmjBvXuLmKFDsifL3vaBjnZ0zvJxO+hcJUqEPEzUt/c MjEN+aVjHAyeH1l2MS0ORPpKDHTyK8MD0Bni3V3/2A3tH0mw9CIujG3iNihAZer5H16BcP byzOQJWg3VjSgb1tdG9DtKafOYR+U76gdZ5CV5zGzyKgHl54UDliq074+rOKNozPYI5lc3 NB0tq6Ec1Eeptpr5sEdSoD/sqimXFgyM9TO/hc7Ydg8JctvPGJW/SkhjGsuGfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776964532; 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=qOlvvZQ/mHnmZwcu9uro23Zkydq4x3BBu2rQUN8hJ4Y=; b=lsbEi5xBk+UdJK/60oNHhxCNirGp7XHOhNLWso8g2PxuLa63xkgBnOUvr3uFvU/nYftN1c GKoB19cx0fzXBT7LwPWSYo4UUNpSiGiWT8v9shLNg6TRU6tgQ0E6Sh3EctWXr9Ifo0lNiW PVS0X/k0J3UDa7o6meS492wM6pdeoaZZnfpP6N4E9qIH7QMm46BUohPxolFZdOSTk8ATJX 61+czfEL1sszf+YMup9NZs58I8NUz0ZECj1N7aDda6tgRFjJsRC39+eRbocbC7ZJpXCyZ0 qeGdMyisEW5ejCxMwHlAdfIVc8l7ar+k8h8ndBYrbwZwlym/e5mtlQirrOXVcQ== 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 4g1jQr52j7z9r0 for ; Thu, 23 Apr 2026 17:15:32 +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 63NHFWbo063519 for ; Thu, 23 Apr 2026 17:15:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63NHFWxw063518 for virtualization@FreeBSD.org; Thu, 23 Apr 2026 17:15:32 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 291063] bhyve: Failed to emulate instruction sequence 8908f0091c244883c2044883c00441 Date: Thu, 23 Apr 2026 17:15:31 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rosenfeld@grumpf.hope-2000.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=3D291063 Hans Rosenfeld changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rosenfeld@grumpf.hope-2000. | |org --- Comment #4 from Hans Rosenfeld --- This isn't about the lock prefix. The mov in question ends up in tpm since it's a write to a tpm device regis= ter. The tpm implementation understands the value written as a request to cancel= a TPM command, which it doesn't support. In principle, there are really only two options a device emulation has in s= uch a situation: - ignore the write, perhaps set an error flag in a status register if such a thing exists in the device - abort the instruction emulation writing the device register Our tpm implementation chose the latter. It should be investigated if it ca= n be made to handle this more gracefully, or implement command cancelling. --=20 You are receiving this mail because: You are the assignee for the bug.=