commit | 3230bb4707278dba25e24cd0a11ea7b2337678ee | [log] [tgz] |
---|---|---|
author | Zachary Amsden <zamsden@redhat.com> | Tue Sep 29 11:38:37 2009 -1000 |
committer | Avi Kivity <avi@redhat.com> | Thu Dec 03 09:32:13 2009 +0200 |
tree | 9548dc371d338b1eb7ee93ef077c70a050cd303f | |
parent | e6732a5af9dfcc87078706a1598df0efe5010f73 [diff] |
KVM: Fix hotplug of CPUs Both VMX and SVM require per-cpu memory allocation, which is done at module init time, for only online cpus. Backend was not allocating enough structure for all possible CPUs, so new CPUs coming online could not be hardware enabled. Signed-off-by: Zachary Amsden <zamsden@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>