]> xenbits.xensource.com Git - people/aperard/qemu-dm.git/commit
target/i386/hvf: introduce x86_emul_ops
authorWei Liu <liuwe@linux.microsoft.com>
Fri, 7 Mar 2025 19:55:12 +0000 (11:55 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Apr 2025 16:23:26 +0000 (18:23 +0200)
commit26a44d9d2d4296701ceebc1085ab28171a1e7e3b
treeca8a69177c628a2637a15c6856639ae50bf7f115
parent5dcdbd071253e249a76c7771bcf78eca3763a131
target/i386/hvf: introduce x86_emul_ops

This will be used to remove HVF specific code from the instruction emulator.

For now we only introduce two hooks for x86_decode.c. More hooks will be added
when the code is refactored.

The emulator initialization function now takes in a pointer to the ops structure.

Signed-off-by: Wei Liu <liuwe@linux.microsoft.com>
Link: https://lore.kernel.org/r/1741377325-28175-2-git-send-email-liuwe@linux.microsoft.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/hvf/hvf.c
target/i386/hvf/x86_emu.c
target/i386/hvf/x86_emu.h