[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/6] target-i386: fix typo
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 1/6] target-i386: fix typo |
Date: |
Thu, 10 Nov 2016 18:52:37 +0100 |
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 <address@hidden>
Reviewed-by: Richard Henderson <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
target-i386/kvm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 1c0864e..f62264a 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -2855,7 +2855,7 @@ MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct
kvm_run *run)
if (run->flags & KVM_RUN_X86_SMM) {
env->hflags |= HF_SMM_MASK;
} else {
- env->hflags &= HF_SMM_MASK;
+ env->hflags &= ~HF_SMM_MASK;
}
if (run->if_flag) {
env->eflags |= IF_MASK;
--
1.8.3.1
- [Qemu-devel] [PULL 0/6] QEMU patches for 2.8.0-rc0, Paolo Bonzini, 2016/11/10
- [Qemu-devel] [PULL 2/6] vl.c: move pidfile creation up the line, Paolo Bonzini, 2016/11/10
- [Qemu-devel] [PULL 3/6] target-i386/machine: fix migrate faile because of Hyper-V HV_X64_MSR_VP_RUNTIME, Paolo Bonzini, 2016/11/10
- [Qemu-devel] [PULL 1/6] target-i386: fix typo,
Paolo Bonzini <=
- [Qemu-devel] [PULL 4/6] qdev: fix use-after-free regression from becdfa00cfa, Paolo Bonzini, 2016/11/10
- [Qemu-devel] [PULL 6/6] nbd: Don't inf-loop on early EOF, Paolo Bonzini, 2016/11/10
- [Qemu-devel] [PULL 5/6] target-i386: document how x86 gdb_num_core_regs is computed., Paolo Bonzini, 2016/11/10
- Re: [Qemu-devel] [PULL 0/6] QEMU patches for 2.8.0-rc0, Stefan Hajnoczi, 2016/11/11