Received: from [140.186.70.92] (port=36671 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZRL7-0006to-Jv for qemu-devel@nongnu.org; Thu, 15 Jul 2010 12:31:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZRKw-0006t3-Su for qemu-devel@nongnu.org; Thu, 15 Jul 2010 12:31:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13581) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZRKw-0006sm-KX for qemu-devel@nongnu.org; Thu, 15 Jul 2010 12:31:02 -0400 Date: Wed, 14 Jul 2010 14:30:34 -0300 From: Marcelo Tosatti Message-ID: <20100714173034.GB2916@amt.cnet> References: <20100707180411.GA17569@amt.cnet> <20100709181851.GB7444@amt.cnet> <20100712223339.4b53ed36@redhat.com> <20100713173022.GA32561@amt.cnet> <20100713193539.56a2522b@redhat.com> <20100714000133.GA10547@amt.cnet> <20100714133946.2187acde@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100714133946.2187acde@redhat.com> Subject: [Qemu-devel] Re: [PATCH] set proper migration status on ->write error (v5) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Luiz Capitulino Cc: qemu-devel@nongnu.org, aurelien@aurel32.net, Juan Quintela On Wed, Jul 14, 2010 at 01:39:46PM -0300, Luiz Capitulino wrote: > On Tue, 13 Jul 2010 21:01:33 -0300 > Marcelo Tosatti wrote: > > > > > If ->write fails, declare migration status as MIG_STATE_ERROR. > > > > Also, in buffered_file.c, ->close the object in case of an > > error. > > > > Fixes "migrate -d "exec:dd of=file", where dd fails to open file. > > > > Signed-off-by: Marcelo Tosatti > > Looks good now, I guess it's good for stable too, isn't it? > > Reviewed-by: Luiz Capitulino Yep, good for stable.