diff options
author | Jes Sorensen <jes@sgi.com> | 2009-01-21 15:16:43 +0100 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-03-24 10:03:07 +0100 |
commit | 934d534f8a5a39e20d5682b3a3a45ff351706b59 (patch) | |
tree | f1e6ce5330028a9aa942623c6706af8ca2ce2130 /arch/x86 | |
parent | KVM: s390: Fix SIGP set prefix ioctl (diff) | |
download | linux-934d534f8a5a39e20d5682b3a3a45ff351706b59.tar.xz linux-934d534f8a5a39e20d5682b3a3a45ff351706b59.zip |
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 <jes@sgi.com>
Acked-by : Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions