Re: Failed to emulate instruction sequence [ 41f646040874064c017d88eb144c89 ] at 0xbea5fcf9

From: Mark Peek <mp_at_freebsd.org>
Date: Mon, 02 Dec 2024 22:25:54 UTC
On Mon, Dec 2, 2024 at 1:35 PM Mario Marietto <marietto2008@gmail.com>
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] = {
>                 /* XXX Group 3 extended opcode - not just TEST */
>                 .op_byte = 0xF6,
>                 .op_type = VIE_OP_TYPE_TEST,
>                 .op_flags = VIE_OP_F_IMM,
>         },
>
> but it seems wrong. Shouldn't be .op_flags = 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