Re: [kvm-devel] [PATCH 2/2] Dynamically allocate vcpus

2007-07-29 Thread Avi Kivity
Rusty Russell wrote: > 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_vc

Re: [kvm-devel] [PATCH 2/2] Dynamically allocate vcpus

2007-07-27 Thread Rusty Russell
On Fri, 2007-07-27 at 16:39 +0900, Jun Koi wrote: > Hi Rusty, > > So with this patch, we no longer have limitation on the number of > vcpus running in a VM? Well, the #define needs to be changed, but that's a trivial matter. If we want it really big, we should look at dynamic reallocation of the

Re: [kvm-devel] [PATCH 2/2] Dynamically allocate vcpus

2007-07-27 Thread Jun Koi
Hi Rusty, So with this patch, we no longer have limitation on the number of vcpus running in a VM? Thanks, Jun On 7/27/07, Rusty Russell <[EMAIL PROTECTED]> wrote: > On Fri, 2007-07-27 at 16:56 +1000, Rusty Russell wrote: > > This patch converts the vcpus array in "struct kvm" to a linked list >

Re: [kvm-devel] [PATCH 2/2] Dynamically allocate vcpus

2007-07-27 Thread Rusty Russell
On Fri, 2007-07-27 at 16:56 +1000, Rusty Russell wrote: > This patch converts the vcpus array in "struct kvm" to a linked list > of VCPUs ... and here's the version which leaves it as an array (of pointers). Oops. == Dynamically allocate vcpus This patch converts the vcpus array in "struct kvm"