projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f21b8bf
)
KVM: Remove misleading check for mmio during event injection
author
Avi Kivity
<avi@qumranet.com>
Sun, 25 Nov 2007 15:45:31 +0000
(17:45 +0200)
committer
Avi Kivity
<avi@qumranet.com>
Wed, 30 Jan 2008 15:53:15 +0000
(17:53 +0200)
mmio was already handled in kvm_arch_vcpu_ioctl_run(), so no need to check
again.
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/x86.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/kvm/x86.c
b/drivers/kvm/x86.c
index 2be59364a49d96f25d4fcfcf3e6d045873775ff3..5e5815604cbd83960dce9766a8a24106f18744fa 100644
(file)
--- 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;