From nobody Tue Nov 19 23:56:40 2024 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 4XtLxh5cq0z5ctg8 for ; Tue, 19 Nov 2024 23:56:40 +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 4XtLxh34kKz53Bn for ; Tue, 19 Nov 2024 23:56:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732060600; 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=/qay8kDymf9bylhoZA47pTtYlf52/BN6OMVxSU6Ycco=; b=W/RveeeRrzsryD8ogQO8D+P5pbMg5ryGGxutwW54Sts7IoqFaNR6P/bUa48KUCw2Bcqp5V gSHxkW417BgbjG2vRAwg0oVuKAuNkENYjqm/QiIi6W/L3SYnw/qZcKqOZccJ2jhvdSf2M7 4kXAk6pMq+SMEcg5ZT7LnXEnF1xmcLvZjVinSXZ+Ceawc53la30QkTjIIioUJud20+6Amb M3PnBrogxe9kT4v9R0u3+KFAkcIMPTkkHGNHfJqAuFGeDDb0AE263VHPkdKPXY6GLcI/p3 MYnXzdDqbLsSHrQJ9XEvu1ANXe9ebVz4ImuwtFw6e7U2CxFeGO/G1g1UuJ7yWg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732060600; a=rsa-sha256; cv=none; b=fGKjE5Lfk3I4E6aK02qKtWcaA02833RsHzh4a/QhfRle//qPl2o6FeRFvD5VBArL7NoVNe RJ/j4AzAadaE6GlEUGM4uxfKuc8dZw7ornWCHwWKehMOVFBSq7y/l4bRyRDAJXqs0lXZ5J uZ2A/fV5m38RDa90itQa/2gKMC8+2pwPSqJenEZ0fAsJr8syLTslaCVBFk9BP6vGwDpfEp ukxdeFPK9lXKmXxofl47s+7Cm5ygdqgfXGiGPqI+dCOSqMfejHEIPOhz86QSQ2vOisVHIP 6rh43GFGvxlQuYPXOHcFu3tG0YHQHhc29daNvuQbNnzwS2qswYI3me+1amofdQ== 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 4XtLxh2N2ZzWcT for ; Tue, 19 Nov 2024 23:56:40 +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 4AJNueNc058402 for ; Tue, 19 Nov 2024 23:56:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4AJNuerr058401 for virtualization@FreeBSD.org; Tue, 19 Nov 2024 23:56:40 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 282852] bhyve: Failed to emulate instruction sequence Date: Tue, 19 Nov 2024 23:56:40 +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.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D282852 Mark Peek changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mp@FreeBSD.org --- Comment #1 from Mark Peek --- Created attachment 255307 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D255307&action= =3Dedit Add F6 test emulation Likely your change looked similar to this patch. You need to: 1. Apply the patch 2. Rebuild vmm.ko 3. Rebuild bhyve I'm guessing you did #1 and #2. The instruction emulation runs in the bhyve user process which needs #3. Note: I tested this with a fabricated test in a FreeBSD VM with a user prog= ram and it seemed to work. I'd be curious if this fixes your uefi issue. --=20 You are receiving this mail because: You are the assignee for the bug.=