summaryrefslogtreecommitdiffstats
path: root/drivers/kvm/x86.c
diff options
context:
space:
mode:
authorAvi Kivity2007-11-25 16:45:31 +0100
committerAvi Kivity2008-01-30 16:53:15 +0100
commiteb9774f0d675922d780f23cbb747f474b0573dea (patch)
treeb5fcf90d5a4b9a87f6e1fb8ff0c79dee479d7f08 /drivers/kvm/x86.c
parentKVM: x86 emulator: address size and operand size overrides are sticky (diff)
downloadkernel-qcow2-linux-eb9774f0d675922d780f23cbb747f474b0573dea.tar.gz
kernel-qcow2-linux-eb9774f0d675922d780f23cbb747f474b0573dea.tar.xz
kernel-qcow2-linux-eb9774f0d675922d780f23cbb747f474b0573dea.zip
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>
Diffstat (limited to 'drivers/kvm/x86.c')
-rw-r--r--drivers/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
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;