Re: [PATCH v2 02/27] target/i386/emulate: Allow instruction decoding from stream

2025-07-01 Thread Wei Liu
On Tue, Jul 01, 2025 at 07:28:09PM +0200, Magnus Kulke wrote: > Introduce a new helper function to decode x86 instructions from a > raw instruction byte stream. MSHV delivers an instruction stream in a > buffer of the vm_exit message. It can be used to speed up MMIO > emulation, since instructions

[PATCH v2 02/27] target/i386/emulate: Allow instruction decoding from stream

2025-07-01 Thread Magnus Kulke
Introduce a new helper function to decode x86 instructions from a raw instruction byte stream. MSHV delivers an instruction stream in a buffer of the vm_exit message. It can be used to speed up MMIO emulation, since instructions do not have to be fetched and translated. Added "fetch_instruction()"