diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-25 17:45:31 +0200 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 17:53:15 +0200 |
commit | eb9774f0d675922d780f23cbb747f474b0573dea (patch) | |
tree | b5fcf90d5a4b9a87f6e1fb8ff0c79dee479d7f08 /drivers/kvm | |
parent | f21b8bf4cc4091b23669987124fd13f758abf6d6 (diff) | |
download | op-kernel-dev-eb9774f0d675922d780f23cbb747f474b0573dea.zip op-kernel-dev-eb9774f0d675922d780f23cbb747f474b0573dea.tar.gz |
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')
-rw-r--r-- | drivers/kvm/x86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/kvm/x86.c b/drivers/kvm/x86.c index 2be5936..5e58156 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; |