From patchwork Tue Mar 9 23:10:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 47198 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9B51BB7D0A for ; Wed, 10 Mar 2010 10:15:46 +1100 (EST) Received: from localhost ([127.0.0.1]:47697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Np8eN-0001h4-IB for incoming@patchwork.ozlabs.org; Tue, 09 Mar 2010 18:15:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Np8ZY-0005iU-Dn for qemu-devel@nongnu.org; Tue, 09 Mar 2010 18:10:44 -0500 Received: from [199.232.76.173] (port=40148 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Np8ZX-0005hv-Ul for qemu-devel@nongnu.org; Tue, 09 Mar 2010 18:10:43 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Np8ZX-0006Bu-21 for qemu-devel@nongnu.org; Tue, 09 Mar 2010 18:10:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15961) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Np8ZW-0006Bm-MY for qemu-devel@nongnu.org; Tue, 09 Mar 2010 18:10:42 -0500 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o29NAfPH022302 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 9 Mar 2010 18:10:42 -0500 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o29NAaW0021877; Tue, 9 Mar 2010 18:10:40 -0500 From: Juan Quintela To: qemu-devel@nongnu.org Date: Wed, 10 Mar 2010 00:10:36 +0100 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 2/2] migration: unix migration should obey autostart are the other ones X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org This was the only incoming migration without autostart check Signed-off-by: Juan Quintela --- migration-unix.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/migration-unix.c b/migration-unix.c index ce59a2a..49de1b9 100644 --- a/migration-unix.c +++ b/migration-unix.c @@ -176,6 +176,8 @@ static void unix_accept_incoming_migration(void *opaque) qemu_announce_self(); DPRINTF("successfully loaded vm state\n"); + if (autostart) + vm_start(); out_fopen: qemu_fclose(f);