> 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