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 ?

On Mon, Dec 2, 2024 at 10:16 PM Mark Peek <[email protected]> wrote:

> On Mon, Dec 2, 2024 at 1:05 PM Mario Marietto <[email protected]>
> wrote:
>
>> Hello Mark,
>>
>> I see that your patch is about to modify the code of the vmm.ko module.
>> I've just exchanged the vmm.ko module that I'm using on the ZFS system with
>> the module that I use on the UFS system (where I don't see the error) but
>> this operation didn't solve the problem. I suspect that the wrong code is
>> not inside the vmm.ko module. Can you offer a quick technical explanation
>> of the reason why the exchange of the modules does not work for me ?
>>
>
> I'm assuming you applied the patch and rebuilt the vmm.ko module. Did you
> also recompile the bhyve binary per my comments in my last message? The
> emulated instructions are detected in vmm.ko but are emulated in the bhyve
> binary. In other words, vmm_instruction_emul.c is used in both vmm.ko and
> bhyve.
>
> Mark
>


-- 
Mario.

Reply via email to