From: Avi Kivity Date: Sun, 25 Nov 2007 15:45:31 +0000 (+0200) Subject: KVM: Remove misleading check for mmio during event injection X-Git-Tag: v5.15~43321^2~82 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=eb9774f0d675922d780f23cbb747f474b0573dea;p=mirror_ubuntu-kernels.git 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 --- diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 2be59364a49d..5e5815604cbd 100644 --- a/drivers/kvm/x86.c +++ b/drivers/kvm/x86.c @@ -2344,7 +2344,7 @@ again: if (irqchip_in_kernel(vcpu->kvm)) kvm_x86_ops->inject_pending_irq(vcpu); - else if (!vcpu->mmio_read_completed) + else kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run); vcpu->guest_mode = 1;