Windows 7 fails to boot
After doing some git bisecting I was able to find out that this patch is what causes Windows 7 to fail to boot in qemu-system-x86_64:
7eff2e7c is the first bad commit commit 7eff2e7c Author: Richard Henderson richard.henderson@linaro.org Date: Fri May 14 10:13:31 2021 -0500
target/i386: Cleanup read_crN, write_crN, lmsw
Pull the svm intercept check into the translator.
Pull the entire implementation of lmsw into the translator.
Push the check for CR8LEG into the regno validation switch.
Unify the gen_io_start check between read/write.
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210514151342.384376-40-richard.henderson@linaro.org>
target/i386/helper.h | 5 +- target/i386/tcg/misc_helper.c | 8 --- target/i386/tcg/sysemu/misc_helper.c | 2 - target/i386/tcg/translate.c | 97 +++++++++++++++++++----------------- 4 files changed, 54 insertions(+), 58 deletions(-)
I have contacted Richard Henderson and am waiting for a reply.