Re: [RFC PATCH 02/25] target/i386/emulate: allow instruction decoding from stream

2025-05-20 Thread Wei Liu
On Tue, May 20, 2025 at 01:29:55PM +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

Re: [RFC PATCH 02/25] target/i386/emulate: allow instruction decoding from stream

2025-05-20 Thread Paolo Bonzini
On 5/20/25 13:29, 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 do not have to be fetched and

[RFC PATCH 02/25] target/i386/emulate: allow instruction decoding from stream

2025-05-20 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. Signed-off-by: Magnus Kulke