The MSHV accelerator requires a x86 decoder/emulator in userland to emulate MMIO instructions. This change contains the implementations for the generalized i386 instruction decoder/emulator. Signed-off-by: Magnus Kulke <magnuskulke@linux.microsoft.com> Link: https://lore.kernel.org/r/20250916164847.77883-4-magnuskulke@linux.microsoft.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
8 lines
213 B
Meson
8 lines
213 B
Meson
emulator_files = files(
|
|
'x86_decode.c',
|
|
'x86_emu.c',
|
|
'x86_flags.c',
|
|
)
|
|
|
|
i386_system_ss.add(when: [hvf, 'CONFIG_HVF'], if_true: emulator_files)
|
|
i386_system_ss.add(when: 'CONFIG_MSHV', if_true: emulator_files)
|