mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 13:38:36 -07:00
target-i386: fix typo
The impact is small because kvm_get_vcpu_events fixes env->hflags, but it is wrong and could cause INITs to be delayed arbitrarily with -machine kernel_irqchip=off. Reported-by: Achille Fouilleul <achille.fouilleul@gadz.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
207faf24c5
commit
f5c052b973
1 changed files with 1 additions and 1 deletions
|
|
@ -2855,7 +2855,7 @@ MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct kvm_run *run)
|
||||||
if (run->flags & KVM_RUN_X86_SMM) {
|
if (run->flags & KVM_RUN_X86_SMM) {
|
||||||
env->hflags |= HF_SMM_MASK;
|
env->hflags |= HF_SMM_MASK;
|
||||||
} else {
|
} else {
|
||||||
env->hflags &= HF_SMM_MASK;
|
env->hflags &= ~HF_SMM_MASK;
|
||||||
}
|
}
|
||||||
if (run->if_flag) {
|
if (run->if_flag) {
|
||||||
env->eflags |= IF_MASK;
|
env->eflags |= IF_MASK;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue