qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Peter Maydell <peter.maydell@linaro.org>
To: Pavel Fedin <p.fedin@samsung.com>
Cc: Juan Quintela <quintela@redhat.com>,
	Marc Zyngier <marc.zyngier@arm.com>, QEMU <qemu-devel@nongnu.org>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Amit Shah <amit.shah@redhat.com>,
	"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
	Christoffer Dall <christoffer.dall@linaro.org>
Subject: Re: [Qemu-devel] Live migration sequence
Date: Tue, 13 Oct 2015 13:04:57 +0100	[thread overview]
Message-ID: <CAFEAcA8P9okmf012ocoo6bx5y-0yObTFrsrPo1tQ99yGiHYo7A@mail.gmail.com> (raw)
In-Reply-To: <00d801d105ae$fa1eb5a0$ee5c20e0$@samsung.com>

On 13 October 2015 at 13:02, Pavel Fedin <p.fedin@samsung.com> wrote:
>  Hello!
>
>>   b) Once you're in the device state saving (a above) you must not change guest RAM,
>>      because at that point the migration code won't send any new changes across
>>      to the destination. So any sync's you're going to do have to happen before/at
>>      the time we stop the CPU and do the final RAM sync.  On the plus side, when
>>      you're loading the device state in (a) you can be sure the RAM contents are there.
>
>  This is good. I think, in this case i can teach the kernel (here we talk about accelerated
> in-kernel irqchip implementation) to flush ITS caches when a CPU is stopped. This will do the job.

Our idea at the discussion at Connect was to have an ioctl to request
a flush, rather than to do it automatically when a CPU is stopped
(you probably don't want to flush when only one CPU in an SMP system
is stopped, for instance). But we wanted to get the basic no-ITS
ABI sorted out and agreed first, so those details aren't in the
patch Christoffer sent out the other day.

It will probably be more efficient if we agree on the ABI details
here before doing the implementation rather than afterwards.

thanks
-- PMM

  reply	other threads:[~2015-10-13 12:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-08 11:39 [Qemu-devel] Live migration sequence Pavel Fedin
2015-10-09 15:29 ` Dr. David Alan Gilbert
2015-10-13 10:06   ` Pavel Fedin
2015-10-13 11:05     ` Dr. David Alan Gilbert
2015-10-13 12:02       ` Pavel Fedin
2015-10-13 12:04         ` Peter Maydell [this message]
2015-10-13 12:41           ` Pavel Fedin
2015-10-16  7:24       ` Pavel Fedin
2015-10-16 17:11         ` Dr. David Alan Gilbert

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=CAFEAcA8P9okmf012ocoo6bx5y-0yObTFrsrPo1tQ99yGiHYo7A@mail.gmail.com \
    --to=peter.maydell@linaro.org \
    --cc=amit.shah@redhat.com \
    --cc=christoffer.dall@linaro.org \
    --cc=dgilbert@redhat.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=marc.zyngier@arm.com \
    --cc=p.fedin@samsung.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).