[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <62be5025-374b-6837-77dd-05ab2148f295@redhat.com>
Date: Fri, 15 Nov 2019 11:26:47 +0100
From: Paolo Bonzini <pbonzini@...hat.com>
To: Nitesh Narayan Lal <nitesh@...hat.com>, kvm@...r.kernel.org,
linux-kernel@...r.kernel.org, mtosatti@...hat.com,
rkrcmar@...hat.com, vkuznets@...hat.com,
sean.j.christopherson@...el.com, wanpengli@...cent.com,
jmattson@...gle.com, joro@...tes.org
Subject: Re: [Patch v2 2/2] KVM: x86: deliver KVM IOAPIC scan request to
target vCPUs
On 07/11/19 13:53, Nitesh Narayan Lal wrote:
> In IOAPIC fixed delivery mode instead of flushing the scan
> requests to all vCPUs, we should only send the requests to
> vCPUs specified within the destination field.
>
> This patch introduces kvm_get_dest_vcpus_mask() API which
> retrieves an array of target vCPUs by using
> kvm_apic_map_get_dest_lapic() and then based on the
> vcpus_idx, it sets the bit in a bitmap. However, if the above
> fails kvm_get_dest_vcpus_mask() finds the target vCPUs by
> traversing all available vCPUs. Followed by setting the
> bits in the bitmap.
Queued, thanks. I just took the liberty of renaming the function to
kvm_bitmap_or_dest_vcpus.
Paolo
Powered by blists - more mailing lists