Lines Matching refs:KVM
1 KVM/ARM VGIC Forwarded Physical Interrupts
4 The KVM/ARM code implements software support for the ARM Generic
18 and KVM must therefore somehow inject a virtual interrupt on behalf of
39 KVM must also program an additional field in the LR, the physical IRQ
42 When the HW bit is set, KVM must EITHER set the Pending OR the Active
57 - KVM sets the LR.Pending bit, because this is the only way the GICV
64 - KVM clears the LR on VM exits when the physical distributor
68 interrupts (shared), KVM directly sets the active state on the physical
148 1. KVM runs the VCPU
152 5. KVM stores the timer state to memory and disables the hardware timer
153 6. KVM schedules a soft timer to fire in T+(100 - time since step 2)
154 7. KVM puts the VCPU thread to sleep (on a waitqueue)
156 9. KVM reprograms the timer hardware with the VCPU's values
157 10. KVM marks the timer interrupt as active on the physical distributor
158 11. KVM injects a forwarded physical interrupt to the guest
159 12. KVM runs the VCPU
161 Notice that KVM injects a forwarded physical interrupt in step 11 without
171 1. KVM runs the VCPU
175 until KVM has returned to the host).
176 5. With interrupts still disabled on the CPU coming back from the guest, KVM
178 6. KVM looks at the timer state (in memory) and injects a forwarded physical
180 7. KVM marks the timer interrupt as active on the physical distributor
181 7. KVM enables the timer, enables interrupts, and runs the VCPU
187 injected on the KVM guest entry path.