• Jes Sorensen's avatar
    KVM: ia64: dynamic nr online cpus · 934d534f
    Jes Sorensen authored
    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: default avatarJes Sorensen <jes@sgi.com>
    Acked-by : Xiantao Zhang  <xiantao.zhang@intel.com>
    Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
    934d534f
vcpu.c 50.2 KB