From: Rusty Russell Date: Fri, 27 Jul 2007 07:16:56 +0000 (+1000) Subject: KVM: Dynamically allocate vcpus X-Git-Tag: v2.6.24-rc1~1365^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb3f0f51d92d1496f9628ca6f0fb06a48dc9ed2a;p=pandora-kernel.git KVM: Dynamically allocate vcpus This patch converts the vcpus array in "struct kvm" to a pointer array, and changes the "vcpu_create" and "vcpu_setup" hooks into one "vcpu_create" call which does the allocation and initialization of the vcpu (calling back into the kvm_vcpu_init core helper). Signed-off-by: Rusty Russell Signed-off-by: Avi Kivity --- Reading git-diff-tree failed