答复: [PATCH] KVM: x86: Add EOI exit bitmap handlers for Hyper-V SynIC vectors

From: Wang,Guangju
Date: Thu Jul 07 2022 - 05:43:05 EST


> This whole part:
>
> if (to_hv_vcpu(apic->vcpu) &&
> test_bit(vector, to_hv_synic(apic->vcpu)->vec_bitmap))
> kvm_hv_synic_send_eoi(apic->vcpu, vector);
>
> kvm_ioapic_send_eoi(apic, vector);
> kvm_make_request(KVM_REQ_EVENT, apic->vcpu);

> could be split into an inline function, something like (completely
> untested):

Thank you, I will modify and test it and then send a new patch.

--
Wang