From: Jes Sorensen Date: Wed, 21 Jan 2009 14:16:43 +0000 (+0100) Subject: KVM: ia64: dynamic nr online cpus X-Git-Tag: v2.6.30-rc1~664^2~29 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=934d534f8a5a39e20d5682b3a3a45ff351706b59;p=pandora-kernel.git KVM: ia64: dynamic nr online cpus Account for number of online cpus and use that in loops iterating over the list of vpus instead of scanning the full array unconditionally. This patch is a building block to facilitate allowing to bump up the size of MAX_VCPUS significantly. Signed-off-by: Jes Sorensen Acked-by : Xiantao Zhang Signed-off-by: Avi Kivity --- Reading git-diff-tree failed