Lines Matching refs:physical

9 Some of these virtual interrupts, however, correspond to physical
10 interrupts from real physical devices. One example could be the
16 passthrough device, where the physical interrupts are initially handled
19 the physical one to the guest OS.
21 These virtual interrupts corresponding to a physical interrupt on the
22 host are called forwarded physical interrupts, but are also sometimes
23 referred to as 'virtualized physical interrupts' and 'mapped interrupts'.
25 Forwarded physical interrupts are handled slightly differently compared
39 KVM must also program an additional field in the LR, the physical IRQ
40 number, to link the virtual with the physical IRQ.
45 Setting the HW bit causes the hardware to deactivate the physical
46 interrupt on the physical distributor when the guest deactivates the
53 The state of forwarded physical interrupts is managed in the following way:
55 - The physical interrupt is acked by the host, and becomes active on
56 the physical distributor (*).
62 - On guest EOI, the *physical distributor* active bit gets cleared,
64 - KVM clears the LR on VM exits when the physical distributor
68 interrupts (shared), KVM directly sets the active state on the physical
74 configures the physical GIC with EOIMode=1, which causes EOI operations to
81 Forwarded physical interrupts injected should always be active on the
82 physical distributor when injected to a guest.
86 line. This means that the interrupt will remain pending on the physical
91 over and over. Therefore, the active state on the physical distributor
94 interrupt, the physical line is sampled by the hardware again and the host
95 takes a new interrupt if and only if the physical line is still asserted.
100 from a physical device as pure virtual interrupts. But that would
102 physical interrupt occurring in the middle of the guest ISR would
104 if you configure the system to handle interrupts on a separate physical
110 physical interrupts occurring before the guest deactivates the interrupt
111 simply mark the state on the physical distributor as Pending+Active. As
113 interrupt if and only if there was a physical interrupt between injecting
118 HW bit set, the interrupt must also be active on the physical
129 for physical LPIs that are forwarded to a VM as virtual interrupts,
157 10. KVM marks the timer interrupt as active on the physical distributor
158 11. KVM injects a forwarded physical interrupt to the guest
161 Notice that KVM injects a forwarded physical interrupt in step 11 without
164 the active state on the physical distributor is part of the state
173 4. At T+100 the timer fires and a physical IRQ causes the VM to exit
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
183 Notice that again the forwarded physical interrupt is injected to the
185 is because the physical interrupt is never actually seen by the host because the