diff options
author | Avi Kivity <avi@qumranet.com> | 2007-11-25 10:45:31 -0500 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-01-30 10:53:15 -0500 |
commit | eb9774f0d675922d780f23cbb747f474b0573dea (patch) | |
tree | b5fcf90d5a4b9a87f6e1fb8ff0c79dee479d7f08 /drivers/kvm/x86.c | |
parent | f21b8bf4cc4091b23669987124fd13f758abf6d6 (diff) |
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.c | 2 |
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: | |||
2344 | 2344 | ||
2345 | if (irqchip_in_kernel(vcpu->kvm)) | 2345 | if (irqchip_in_kernel(vcpu->kvm)) |
2346 | kvm_x86_ops->inject_pending_irq(vcpu); | 2346 | kvm_x86_ops->inject_pending_irq(vcpu); |
2347 | else if (!vcpu->mmio_read_completed) | 2347 | else |
2348 | kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run); | 2348 | kvm_x86_ops->inject_pending_vectors(vcpu, kvm_run); |
2349 | 2349 | ||
2350 | vcpu->guest_mode = 1; | 2350 | vcpu->guest_mode = 1; |