When testing Mohamed's recent x86_64 WHPX updates [1] I encountered two compilation issues under MSYS2/GCC which are fixed in this series. The last commit fixes a missed optimization opportunity in MSHV code.
The MSHV code will be reused in WHPX [1] which allowed me to test it. I didn't notice any performance benefits, though in theory there should be some due to less guest memory accesses. Testing done: * Use a Linux VM for a couple of hours [1] https://lore.kernel.org/qemu-devel/[email protected]/ Bernhard Beschow (3): target/i386/emulate/x86_decode: Fix compiler warning target/i386/hvf/x86_mmu: Fix compiler warning target/i386/emulate/x86_decode: Actually use stream in decode_instruction_stream() target/i386/emulate/x86_decode.c | 6 +++--- target/i386/hvf/x86_mmu.c | 6 ++++-- 2 files changed, 7 insertions(+), 5 deletions(-) -- 2.53.0
