From: Vitaly Kuznetsov Subject: Re: [PATCH v4 0/5] KVM: x86: hyperv: PV IPI support for Windows guests Date: Mon, 23 Jul 2018 13:31:12 +0200 Message-ID: <87tvoqrxxb.fsf@vitty.brq.redhat.com> References: <20180703134206.27240-1-vkuznets@redhat.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , Roman Kagan , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , "Michael Kelley \(EOSG\)" , Mohammed Gamal , Cathy Avery , Wanpeng Li , linux-kernel@vger.kernel.org To: kvm@vger.kernel.org Return-path: In-Reply-To: <20180703134206.27240-1-vkuznets@redhat.com> (Vitaly Kuznetsov's message of "Tue, 3 Jul 2018 15:42:01 +0200") Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Vitaly Kuznetsov writes: > Changes since v3 [Roman Kagan]: > - Don't use vcpu_id in kvm_make_vcpus_request_mask to avoid dealing with > sparse CPU masks. > - Create get_vcpu_idx_by_vpidx() and use it in get_vcpu_by_vpidx() and > kvm_hv_flush_tlb(). > > Using hypercall for sending IPIs is faster because this allows to specify > any number of vCPUs (even > 64 with sparse CPU set), the whole procedure > will take only one VMEXIT. > > Same as PV TLB flush, this allows Windows guests having > 64 vCPUs to boot > on KVM when Hyper-V extensions are enabled. Ping) -- Vitaly