Re: [PATCH: kvm 3/5] Fix hotadd of CPUs for KVM.

2009-09-27 Thread Zachary Amsden
On 09/26/2009 10:52 PM, Avi Kivity wrote: On 09/25/2009 03:47 AM, Zachary Amsden wrote: --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c @@ -1716,9 +1716,6 @@ static int kvm_cpu_hotplug(struct notifier_block *notifier, unsigned long val, { int cpu = (long)v; -if

[PATCH: kvm 3/5] Fix hotadd of CPUs for KVM.

2009-09-24 Thread Zachary Amsden
Both VMX and SVM require per-cpu memory allocation, which is done at module init time, for only online cpus. When bringing a new CPU online, we must also allocate this structure. The method chosen to implement this is to make the CPU online notifier available via a call to the arch code. This