From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ma6kO-0003zY-BX for qemu-devel@nongnu.org; Sun, 09 Aug 2009 07:39:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ma6kI-0003zM-I1 for qemu-devel@nongnu.org; Sun, 09 Aug 2009 07:39:30 -0400 Received: from [199.232.76.173] (port=48615 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ma6kI-0003zJ-EY for qemu-devel@nongnu.org; Sun, 09 Aug 2009 07:39:26 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58836) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ma6kH-0005xO-Uy for qemu-devel@nongnu.org; Sun, 09 Aug 2009 07:39:26 -0400 From: Avi Kivity Date: Sun, 9 Aug 2009 14:39:20 +0300 Message-Id: <1249817960-11020-1-git-send-email-avi@redhat.com> Subject: [Qemu-devel] [PATCH] Do not disable autostart for live migration List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org If the user does not want autostart, they can specify -S. Signed-off-by: Avi Kivity --- vl.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/vl.c b/vl.c index a526cb0..cf7fb3b 100644 --- a/vl.c +++ b/vl.c @@ -6090,12 +6090,10 @@ int main(int argc, char **argv, char **envp) do_loadvm(cur_mon, loadvm); if (incoming) { - autostart = 0; qemu_start_incoming_migration(incoming); - } - - else if (autostart) + } else if (autostart) { vm_start(); + } #ifndef _WIN32 if (daemonize) { -- 1.6.3.3