diff --git a/qemu/target/i386/smm_helper.c b/qemu/target/i386/smm_helper.c index c2e626db..77e4fe4b 100644 --- a/qemu/target/i386/smm_helper.c +++ b/qemu/target/i386/smm_helper.c @@ -59,7 +59,6 @@ void do_smm_enter(X86CPU *cpu) } else { env->hflags2 |= HF2_NMI_MASK; } - cpu_smm_update(env); sm_state = env->smbase + 0x8000; @@ -323,7 +322,6 @@ void helper_rsm(CPUX86State *env) } env->hflags2 &= ~HF2_SMM_INSIDE_NMI_MASK; env->hflags &= ~HF_SMM_MASK; - cpu_smm_update(env); qemu_log_mask(CPU_LOG_INT, "SMM: after RSM\n"); log_cpu_state_mask(CPU_LOG_INT, CPU(cpu), CPU_DUMP_CCOP);