commit | 49776faf93f8074bb4990beac04781a9507d3650 | [log] [tgz] |
---|---|---|
author | Radim Krčmář <rkrcmar@redhat.com> | Fri Dec 16 16:10:02 2016 +0100 |
committer | Radim Krčmář <rkrcmar@redhat.com> | Mon Jan 09 14:42:47 2017 +0100 |
tree | 6a045c43997415ab5d5ff1fa8338908d7a83cc8c | |
parent | 35e6eaa3df55822d0cb1df3bf08e6cb816737131 [diff] |
KVM: x86: decouple irqchip_in_kernel() and pic_irqchip() irqchip_in_kernel() tried to save a bit by reusing pic_irqchip(), but it just complicated the code. Add a separate state for the irqchip mode. Reviewed-by: David Hildenbrand <david@redhat.com> [Used Paolo's version of condition in irqchip_in_kernel().] Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>