qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Gary Hook <gary.hook@nimboxx.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Postcopy failures
Date: Mon, 27 Oct 2014 12:41:15 +0000	[thread overview]
Message-ID: <20141027124114.GE5021@work-vm> (raw)
In-Reply-To: <D06FED19.2177%gary.hook@nimboxx.com>

* Gary Hook (gary.hook@nimboxx.com) wrote:
> I see this went by:
> 
> Il 07/10/2014 12:29, Dr. David Alan Gilbert ha scritto:
> > You mean something like this (untested) ?
> >
> >   if (mis->postcopy_ram_state != POSTCOPY_RAM_INCOMING_NONE) {
> >       if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) {
> >           /*
> >            * Where a migration had postcopy enabled (and thus went to advise)
> >            * but managed to complete within the precopy period
> >            */
> >           postcopy_ram_incoming_cleanup(mis);
> >       } else if (ret >= 0) {
> >            /*
> >             * Postcopy was started, cleanup should happen at the end of the
> >             * postcopy thread.
> >             */
> >            DPRINTF("process_incoming_migration_co: exiting main branch");
> >            return;
> >       }
> >   }
> 
> And I wonder if this will solve the problem of a peer-to-peer migration, using non-shared storage, failing because it appears to take a bit too lon? I see in other threads Dr. Gilbert is making changes related to post copy and I am very interested in getting resolution to what appears to be a timeout problem.
> 
> Any comments would be appreciated by this newbie to Qemu.

It should be possible to postcopy block storage as well, if that's
the question (it might take some work to make sure that they play
nicely together; e.g. wanting to making the page transfer higher
priority than block transfer).
However, I thought there were other ways to do block storage
migration  (using blockcopy I think? but I'm not a block guy).

Dave
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

  reply	other threads:[~2014-10-27 12:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-24 16:48 [Qemu-devel] Postcopy failures Gary Hook
2014-10-27 12:41 ` Dr. David Alan Gilbert [this message]
2014-10-27 21:18   ` Gary Hook

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=20141027124114.GE5021@work-vm \
    --to=dgilbert@redhat.com \
    --cc=gary.hook@nimboxx.com \
    --cc=qemu-devel@nongnu.org \
    /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).