From: Avi Kivity <avi@redhat.com>
To: Juan Quintela <quintela@redhat.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 6/6] Continue a migrated vm is a bad idea
Date: Thu, 20 Aug 2009 11:40:32 +0300 [thread overview]
Message-ID: <4A8D0C00.6080402@redhat.com> (raw)
In-Reply-To: <927bb26f5425c58febd666db8fec67f55a229b5c.1250646771.git.quintela@redhat.com>
On 08/19/2009 05:07 AM, Juan Quintela wrote:
> index ea5c33a..762a9a5 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -567,6 +567,11 @@ static void do_cont(Monitor *mon)
> {
> struct bdrv_iterate_context context = { mon, 0 };
>
> + if (unlikely(vm_has_migrated)) {
> + monitor_printf(mon, "this vm has migrated to other machine\n");
> + monitor_printf(mon, "You have to load other vm\n");
> + return;
> + }
>
You don't know whether the guest is running on the other side. It may
be that the control program started the other side stopped, and after
migration completes decides which side to continue running.
--
error compiling committee.c: too many arguments to function
next prev parent reply other threads:[~2009-08-20 8:40 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-19 2:07 [Qemu-devel] [PATCH 0/6] Refactor autostart of machines Juan Quintela
2009-08-19 2:07 ` [Qemu-devel] [PATCH 1/6] Delay sighandler_setup() Juan Quintela
2009-08-19 2:07 ` [Qemu-devel] [PATCH 2/6] We want to autostart on incoming conections Once there, indent surrounded code in qemu style Juan Quintela
2009-08-19 6:56 ` [Qemu-devel] " Paolo Bonzini
2009-08-19 9:18 ` Juan Quintela
2009-08-19 10:54 ` Paolo Bonzini
2009-08-19 2:07 ` [Qemu-devel] [PATCH 3/6] split do_loadvm() into do_loadvm() and load_vmstate() Juan Quintela
2009-08-19 2:07 ` [Qemu-devel] [PATCH 4/6] move do_loadvm() to monitor.c Juan Quintela
2009-08-19 2:07 ` [Qemu-devel] [PATCH 5/6] make load_vmstate() return errors Juan Quintela
2009-08-19 2:07 ` [Qemu-devel] [PATCH 6/6] Continue a migrated vm is a bad idea Juan Quintela
2009-08-20 8:40 ` Avi Kivity [this message]
2009-08-20 9:10 ` [Qemu-devel] " Juan Quintela
2009-08-20 9:28 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A8D0C00.6080402@redhat.com \
--to=avi@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).