Received: from [140.186.70.92] (port=43163 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OWdrc-0002df-Hp for qemu-devel@nongnu.org; Wed, 07 Jul 2010 19:17:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OWdrb-0003dN-HF for qemu-devel@nongnu.org; Wed, 07 Jul 2010 19:17:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46389) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OWdrb-0003dE-8A for qemu-devel@nongnu.org; Wed, 07 Jul 2010 19:17:11 -0400 From: Juan Quintela In-Reply-To: <20100707194234.GA18116@amt.cnet> (Marcelo Tosatti's message of "Wed, 7 Jul 2010 16:42:34 -0300") References: <20100707180411.GA17569@amt.cnet> <20100707194234.GA18116@amt.cnet> Date: Thu, 08 Jul 2010 01:17:06 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Re: [PATCH] set proper migration status on ->write error (v2) List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Marcelo Tosatti Cc: Blue Swirl , qemu-devel@nongnu.org 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 Acked-by: Juan Quintela Again, just in case O:-)