From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] dynamically create vcpus + vmx/svm structures Date: Thu, 19 Jul 2007 12:19:45 +0300 Message-ID: <469F2CB1.6020008@qumranet.com> References: <469730E3.4040607@qumranet.com> <469869CF.8030106@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: KVM To: Paul Turner Return-path: In-Reply-To: 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 Paul Turner wrote: > here's an updated version that instead takes kvm_lock and leaves the > svm stuff in the relevant header file for now. unfortunately we still > need the includes since gcc is braindead and can't compile untyped > [0]-size arrays properly, the only two ways i can see to fix this is > either embedding vcpu in an arch specific struct and or using a > long[0] member and a vmx/svm macro as you mentioned before.. > Since this turned out to be a little more involved than anticipated, can you push out a patch that just converts the vcpu array to a pointer array? That will allow careful review of the locking changes, and is independent of splitting that arch independent stuff off. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/