Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LohQ0-0002nh-OW for qemu-devel@nongnu.org; Tue, 31 Mar 2009 13:06:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LohPw-0002kk-54 for qemu-devel@nongnu.org; Tue, 31 Mar 2009 13:06:32 -0400 Received: from [199.232.76.173] (port=57300 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LohPv-0002kb-Sy for qemu-devel@nongnu.org; Tue, 31 Mar 2009 13:06:27 -0400 Received: from mail-fx0-f169.google.com ([209.85.220.169]:64082) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LohPv-0004yH-Du for qemu-devel@nongnu.org; Tue, 31 Mar 2009 13:06:27 -0400 Received: by fxm17 with SMTP id 17so2298527fxm.34 for ; Tue, 31 Mar 2009 10:06:26 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <1238518275-2980-4-git-send-email-glommer@redhat.com> References: <1238518275-2980-1-git-send-email-glommer@redhat.com> <1238518275-2980-2-git-send-email-glommer@redhat.com> <1238518275-2980-3-git-send-email-glommer@redhat.com> <1238518275-2980-4-git-send-email-glommer@redhat.com> Date: Tue, 31 Mar 2009 20:06:26 +0300 Message-ID: Subject: Re: [Qemu-devel] [PATCH 3/3] propagate error on failed completion From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Yaniv Kamay , aliguori@us.ibm.com, Dor Laor , avi@redhat.com On 3/31/09, Glauber Costa wrote: > migrate_fd_put_ready() calls qemu_savevm_state_complete(), > but the later can fail. > > If it happens, re-start the vm and propagate the error up > + if (qemu_savevm_state_complete(s->file) < 0); Did you try to compile this?