[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bbadc445-b8c0-aeb3-d390-e35c9c2560be@redhat.com>
Date: Fri, 1 Jul 2016 16:04:38 +0200
From: Paolo Bonzini <pbonzini@...hat.com>
To: Radim Krčmář <rkrcmar@...hat.com>
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
"Lan, Tianyu" <tianyu.lan@...el.com>,
Igor Mammedov <imammedo@...hat.com>,
Jan Kiszka <jan.kiszka@....de>, Peter Xu <peterx@...hat.com>
Subject: Re: [PATCH v1 04/11] KVM: x86: use u16 for logical VCPU mask in lapic
On 01/07/2016 14:48, Radim Krčmář wrote:
> The other callsite in kvm_irq_delivery_to_apic() does not pass 16:
>
> int idx = kvm_vector_to_index(irq->vector, dest_vcpus,
> dest_vcpu_bitmap, KVM_MAX_VCPUS);
Ah, missed it.
> kvm_vector_to_index() uses find_next_bit(), so we would have two casts
> if we changed the type. This patch is not really needed, so I could
> drop it instead.
Yes, let's leave it aside (and then you don't have to put it before
patch 2!).
Paolo
Powered by blists - more mailing lists