Message ID | E0A769A898ADB6449596C41F51EF62C6AE8087@SZXEMI506-MBX.china.huawei.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
>>> On 23.02.17 at 09:50, <xuquan8@huawei.com> wrote: > event_check_interrupt is likely used in pair with original delivery logic. > Now since delivery path is changed, we should move to pi_notification_interrupt > always. I don't think this is sufficient explanation. What change in the delivery path are you talking about? Which earlier commit should have done this right away? Jan
diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c index 61925cf..1b026fa 100644 --- a/xen/arch/x86/hvm/vmx/vmx.c +++ b/xen/arch/x86/hvm/vmx/vmx.c @@ -2279,13 +2279,9 @@ const struct hvm_function_table * __init start_vmx(void) if ( cpu_has_vmx_posted_intr_processing ) { + alloc_direct_apic_vector(&posted_intr_vector, pi_notification_interrupt); if ( iommu_intpost ) - { - alloc_direct_apic_vector(&posted_intr_vector, pi_notification_interrupt); alloc_direct_apic_vector(&pi_wakeup_vector, pi_wakeup_interrupt); - } - else - alloc_direct_apic_vector(&posted_intr_vector, event_check_interrupt); } else {