From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 2/2] Dynamically allocate vcpus Date: Sun, 29 Jul 2007 11:03:29 +0300 Message-ID: <46AC49D1.4010608@qumranet.com> References: <20070726184241.9119.87037.stgit@novell1.haskins.net> <20070726184525.9119.73573.stgit@novell1.haskins.net> <1185519205.12151.47.camel@localhost.localdomain> <1185519330.12151.50.camel@localhost.localdomain> <1185520617.12151.53.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Rusty Russell Return-path: In-Reply-To: <1185520617.12151.53.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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_vcpu_init core helper). > > It is untested on SMP or SVM, and there are more possible cleanups in > svm.c and vmx.c, but I was being cautious. > Applied; thanks. Both smp and svm work. But watch that whitespace. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/