]> err.no Git - linux-2.6/commit
KVM: Keep an upper bound of initialized vcpus
authorAvi Kivity <avi@qumranet.com>
Thu, 7 Jun 2007 16:11:53 +0000 (19:11 +0300)
committerAvi Kivity <avi@qumranet.com>
Mon, 16 Jul 2007 09:05:46 +0000 (12:05 +0300)
commit39c3b86e5c193e09f69f0e99c93600a4999ffc60
tree94272c98789224f53d4f4f19587a08d95103f837
parent72d6e5a08a8ba2105b3f36e32285e8fbfbed1f71
KVM: Keep an upper bound of initialized vcpus

That way, we don't need to loop for KVM_MAX_VCPUS for a single vcpu
vm.

Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c