ok I've used this : .op_flags = VIE_OP_F_IMM8
After the compilation is finished,I copied the compiled vmm.ko module from /usr/obj/usr/src/amd64.amd64/sys/modules/vmm/vmm.ko to /boot/kernel and to /boot/modules. Regarding the bhyve executable,I'm using two custom versions of it,called bhyve-lin and bhyve-win. When I upgrade the system,they cannot change. What can change is bhyve,but I don't use it. In addition,to be sure,I copied bhyve-lin and bhyve-win from the system where I don't have the error. With this being said,the recompilation of vmm.ko didn't solve my issue. On Mon, Dec 2, 2024 at 11:26 PM Mark Peek <[email protected]> wrote: > On Mon, Dec 2, 2024 at 1:35 PM Mario Marietto <[email protected]> > 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 > -- Mario.
