Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Dec 2024 14:25:54 -0800
From:      Mark Peek <mp@freebsd.org>
To:        Mario Marietto <marietto2008@gmail.com>
Cc:        Mark Peek <mp@freebsd.org>, =?UTF-8?Q?Corvin_K=C3=B6hne?= <c.koehne@beckhoff.com>,  FreeBSD virtualization <freebsd-virtualization@freebsd.org>
Subject:   Re: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9
Message-ID:  <CAGGgMJd%2Box54CyDNk6SgQ29b=Rte=MzpRFbgzM%2BF=QWOV8nu=Q@mail.gmail.com>
In-Reply-To: <CA%2B1FSigZV6GXurd5KmBwVS6LdbOpP1fLK5wEB7-ROAp%2Bz1axsA@mail.gmail.com>
References:  <CA%2B1FSijzwf6xHOv7-CfmdFPmxD46vFEdaJ4V6xy29G4BYEetWA@mail.gmail.com> <CAGGgMJemKNkEB87sHABECYrQT37tzPcF74o6dejAz4=nMApCBQ@mail.gmail.com> <CA%2B1FSigkus=xw6Y%2BQzD8hK9Dmkt6LR1hsY-U8V=yQ3yReTSL8g@mail.gmail.com> <CAGGgMJcVC33joaZ%2BdHsCBMHZ-hZPDt-9E8mL6Nvb=AdbVDQPqA@mail.gmail.com> <CA%2B1FSigZV6GXurd5KmBwVS6LdbOpP1fLK5wEB7-ROAp%2Bz1axsA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000c742ba0628510804
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 2, 2024 at 1:35=E2=80=AFPM Mario Marietto <marietto2008@gmail.c=
om>
wrote:

> Yes,I have also exchanged the bhyve binary. Now I'm trying to apply your
> patch and then I will rebuild vmm.
> I see that your code is :
>
> [0xF6] =3D {
>                 /* XXX Group 3 extended opcode - not just TEST */
>                 .op_byte =3D 0xF6,
>                 .op_type =3D VIE_OP_TYPE_TEST,
>                 .op_flags =3D VIE_OP_F_IMM,
>         },
>
> but it seems wrong. Shouldn't be .op_flags =3D VIE_OP_F_IMM8 ?
>

Yes, per the discussion in the bug report, that was the change I need to
make before submitting it for review. Please make that change in your copy.

And per email after this one, yes, that compilation of vmm.ko looks fine.

Mark

--000000000000c742ba0628510804
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Mon, Dec 2, 2024 at 1:35=E2=80=AFPM Ma=
rio Marietto &lt;<a href=3D"mailto:marietto2008@gmail.com">marietto2008@gma=
il.com</a>&gt; wrote:</div><div class=3D"gmail_quote gmail_quote_container"=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr"><div>Ye=
s,I have also exchanged the bhyve binary. Now I&#39;m trying to apply your =
patch and then I will rebuild vmm. <br></div><div>I see that your code is :=
<br></div><div><br></div><div>[0xF6] =3D {<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 /* XXX Group 3 extended opcode - not just TEST =
*/<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .op_byte =3D =
0xF6,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 .op_type =
=3D VIE_OP_TYPE_TEST,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 .op_flags =3D VIE_OP_F_IMM,<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 },</div><=
div><br></div><div>but it seems wrong. Shouldn&#39;t be .op_flags =3D VIE_O=
P_F_IMM8 ?</div></div></blockquote><div><br></div><div>Yes, per the discuss=
ion in the bug report, that was the change I need to make before submitting=
 it for review. Please make that change in your copy.</div><div><br></div><=
div>And per email after this one, yes, that compilation of vmm.ko looks fin=
e.</div><div><br></div><div>Mark</div></div></div>

--000000000000c742ba0628510804--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGGgMJd%2Box54CyDNk6SgQ29b=Rte=MzpRFbgzM%2BF=QWOV8nu=Q>