KVM: Remove misleading check for mmio during event injection
mmio was already handled in kvm_arch_vcpu_ioctl_run(), so no need to check again. Signed-off-by: Avi Kivity <avi@qumranet.com>
This commit is contained in:
parent
f21b8bf4cc
commit
eb9774f0d6
|
@ -2344,7 +2344,7 @@ again:
|
||||||
|
|
||||||
if (irqchip_in_kernel(vcpu->kvm))
|
if (irqchip_in_kernel(vcpu->kvm))
|
||||||
kvm_x86_ops->inject_pending_irq(vcpu);
|
kvm_x86_ops->inject_pending_irq(vcpu);
|
||||||
else if (!vcpu->mmio_read_completed)
|
else
|
||||||
kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run);
|
kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run);
|
||||||
|
|
||||||
vcpu->guest_mode = 1;
|
vcpu->guest_mode = 1;
|
||||||
|
|
Loading…
Reference in New Issue