x86/hyper-v: Stop caring about EOI for direct stimers
authorVitaly Kuznetsov <vkuznets@redhat.com>
Wed, 5 Dec 2018 15:36:21 +0000 (16:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 14 Dec 2018 16:59:59 +0000 (17:59 +0100)
commit87a8d795b2f1d926b4e831d27144d3e6ab7e33dc
treefd40da6eed2fb69e26254a6fb543fa1a01e4071a
parent08a800ac257a2eeed1fad34b55ed55b2578e9b4e
x86/hyper-v: Stop caring about EOI for direct stimers

Turns out we over-engineered Direct Mode for stimers a bit: unlike
traditional stimers where we may want to try to re-inject the message upon
EOI, Direct Mode stimers just set the irq in APIC and kvm_apic_set_irq()
fails only when APIC is disabled (see APIC_DM_FIXED case in
__apic_accept_irq()). Remove the redundant part.

Suggested-by: Roman Kagan <rkagan@virtuozzo.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/hyperv.c