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] Bug in recent postcopy patch
Date: Fri, 31 Oct 2014 12:04:34 +0000	[thread overview]
Message-ID: <20141031120433.GC3599@work-vm> (raw)
In-Reply-To: <D0781B76.2875%gary.hook@nimboxx.com>

* Gary Hook (gary.hook@nimboxx.com) wrote:
> 
> 
> On 10/30/14, 3:08 PM, "Dr. David Alan Gilbert" <dgilbert@redhat.com> wrote:
> 
> >>I posted another thread asking about migration failure due to a copy
> >> taking too long, but got no traction. In the case where the problem
> >>raises
> >> its head we have turned tunneling on. A tiny VM (<2GB in size) migrates
> >> fine using the same procedure. Again, no shared storage.
> >
> >Is the guest that doesn't migrate idle or is it busily changing lots of
> >memory?
> 
> Quite idle.  Boot the VM, no need to start a workload, try to migrate.
> Failure.
> 
> Also, very large VMs will fail to migrate (non-tunneled). This _seems_ to
> also be related to the amount of time required to copy everything from A
> to B.
> 
> Again, tunneling seems to more quickly expose this issue as it increases
> the amount of time required to copy the qcow2 file over the network.
> 
> I will add here that I¹ve watched the qcow2 file grow, made a copy of it
> (on the receiving end) before it gets deleted, and been able to start a VM
> using the file. It would seem to be copasetic.
> 
> I need to add tracing code to the emulator, in a way that doesn¹t rely
> upon command line options or environment variables. I don¹t see any such
> facility at this point. Specifically, I want to begin by watching what is
> going through the monitor (I.e. Return values from qemu-system-x86_64 and
> why there are complaints.) Unless you have any clear explanation as to why
> the emulator is throwing an error, could you suggest any areas I may want
> to focus my efforts?

No I don't, but there again I've not done any block stuff, and it sounds like
your problem is mostly related to moving the image file (which I thought
libvirt preferred to do using NBD underneath now, but again, I'm not a block
guy).

> >> >Thanks for the report.
> >> 
> >> Thank you for your time and ownership.
> >
> >No problem; note the postcopy code is still quite young, so don't
> >be too surprised if you hit other issues.
> 
> Of course; it¹s fresh out of the oven. But the migration of VMs using
> non-shared storage is not (tunneled or otherwise), and that¹s really what
> I am focused on.
> 
> Again, much appreciation.

Dave

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

      reply	other threads:[~2014-10-31 15:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 22:27 [Qemu-devel] Bug in recent postcopy patch Gary Hook
2014-10-30 10:03 ` Dr. David Alan Gilbert
2014-10-30 16:49   ` Gary Hook
2014-10-30 20:08     ` Dr. David Alan Gilbert
2014-10-30 21:59       ` Gary Hook
2014-10-31 12:04         ` Dr. David Alan Gilbert [this message]

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=20141031120433.GC3599@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).