public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Markus Armbruster <armbru@redhat.com>
To: quintela@redhat.com
Cc: Avi Kivity <avi@redhat.com>,
	Umesh Deshpande <udeshpan@redhat.com>,
	qemu-devel@nongnu.org, kvm@vger.kernel.org
Subject: Re: [Qemu-devel] [RFC] New thread for the VM migration
Date: Mon, 18 Jul 2011 09:08:16 +0200	[thread overview]
Message-ID: <m3ei1ooylb.fsf@blackfin.pond.sub.org> (raw)
In-Reply-To: <m339i87tce.fsf@neno.neno> (Juan Quintela's message of "Thu, 14 Jul 2011 17:52:17 +0200")

Juan Quintela <quintela@redhat.com> writes:

[...]
> I have think a little bit about hotplug & migration, and haven't arraive
> to a nice solution.
>
> - Disabling hotplug/unplug during migration: easy to do.  But it is not
>   exactly user friendly (we are here).
>
> - Allowing hotplug during migration. Solutions:
>   * allow the transfer of hotplug events over the migration protocol
>     (make it even more complicated, but not too much.  The big problem is
>     if the hotplug succeeds on the source but not the destination, ...)
>   * migrate the device list in stage 3: it fixes the hotplug problem
>     nicely, but it makes the interesting problem that after migrating
>     all the ram, we can find "interesting" problems like: disk not
>     readable, etc.  Not funny.
>   * <insert your nice idea here>
>
> As far as I can see, if we sent the device list 1st, we can create the
> full machine at destination, but hotplug is "interesting" to manage.
> Sending the device list late, solve hotplug, but allows errors after
> migrating all memory (also known as, why don't you told me *sooner*).

I figure the errors relevant here happen in device backends (host parts)
mostly.

Maybe updating just backends is easier than full device hot plug.
Configure backends before migrating memory, to catch errors.
Reconfigure backends afterwards for hot plug[*].  Then build machine.

You still get errors from frontends (device models) after migrating
memory, but they should be rare.

[...]

[*] You could do it "in the middle" to catch errors as early as
possible, but I doubt it's worth the trouble.

  parent reply	other threads:[~2011-07-18  7:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <539565793.1312156.1310595395982.JavaMail.root@zmail01.collab.prod.int.phx2.redhat.com>
2011-07-13 23:34 ` [RFC] New thread for the VM migration Umesh Deshpande
2011-07-14  7:14   ` Umesh Deshpande
2011-07-14  8:36     ` [Qemu-devel] " Avi Kivity
2011-07-14  9:09       ` Stefan Hajnoczi
2011-07-14 12:30       ` Anthony Liguori
2011-07-14 12:32         ` Avi Kivity
2011-07-14 15:30           ` Juan Quintela
2011-07-14 15:44             ` Avi Kivity
2011-07-14 15:52               ` Juan Quintela
2011-07-14 16:07                 ` Avi Kivity
2011-07-15  7:59                   ` Paolo Bonzini
2011-07-15  7:59                   ` Paolo Bonzini
2011-07-15 21:09                     ` [Qemu-devel] " Anthony Liguori
2011-07-17  8:39                     ` Avi Kivity
2011-07-18  7:08                 ` Markus Armbruster [this message]
2011-07-14 16:49           ` [Qemu-devel] " Anthony Liguori
2011-07-14 16:59             ` 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=m3ei1ooylb.fsf@blackfin.pond.sub.org \
    --to=armbru@redhat.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=udeshpan@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