From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH][RESEND] KVM: Clean up error handling during VCPU creation Date: Tue, 24 May 2011 17:41:36 +0300 Message-ID: <4DDBC3A0.1020402@redhat.com> References: <4DDA1BC1.9050904@siemens.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm To: Jan Kiszka Return-path: Received: from mx1.redhat.com ([209.132.183.28]:61098 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932727Ab1EXOlm (ORCPT ); Tue, 24 May 2011 10:41:42 -0400 In-Reply-To: <4DDA1BC1.9050904@siemens.com> Sender: kvm-owner@vger.kernel.org List-ID: On 05/23/2011 11:33 AM, Jan Kiszka wrote: > So far kvm_arch_vcpu_setup is responsible for freeing the vcpu struct if > it fails. Move this confusing resonsibility back into the hands of > kvm_vm_ioctl_create_vcpu. Only kvm_arch_vcpu_setup of x86 is affected, > all other archs cannot fail. Applied, thanks. -- error compiling committee.c: too many arguments to function