From: Gleb Natapov Date: Thu, 13 Sep 2012 14:19:24 +0000 (+0300) Subject: KVM: optimize apic interrupt delivery X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~15^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e08ec4a130e2745d96df169e67c58df98a07311;p=pandora-kernel.git KVM: optimize apic interrupt delivery Most interrupt are delivered to only one vcpu. Use pre-build tables to find interrupt destination instead of looping through all vcpus. In case of logical mode loop only through vcpus in a logical cluster irq is sent to. Signed-off-by: Gleb Natapov Acked-by: Michael S. Tsirkin Signed-off-by: Avi Kivity --- Reading git-diff-tree failed