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 <[email protected]>
Acked-by : Xiantao Zhang  <[email protected]>
Signed-off-by: Avi Kivity <[email protected]>
3 files changed