|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] [PATCH 2/2] migration: unix migration should obey autostart are the other ones |
Date: | Thu, 11 Mar 2010 14:27:51 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091209 Fedora/3.0-4.fc12 Lightning/1.0pre Thunderbird/3.0 |
On 03/09/2010 05:10 PM, Juan Quintela wrote:
This was the only incoming migration without autostart check Signed-off-by: Juan Quintela<address@hidden> --- 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();
Maybe a better thing to do is make accept_incoming_migration return an error code and do the vm_start in common code.
Regards, Anthony Liguori
out_fopen: qemu_fclose(f);
[Prev in Thread] | Current Thread | [Next in Thread] |