From: Bohdan Trach <bohdan.trach@mailbox.tu-dresden.de>
To: Eric Blake <eblake@redhat.com>, qemu-devel@nongnu.org
Cc: amit.shah@redhat.com, thomas.knauth@googlemail.com, quintela@redhat.com
Subject: Re: [Qemu-devel] [RFC V2, PATCH 0/2] Checkpoint-assisted migration proposal
Date: Wed, 25 Nov 2015 11:24:03 +0100 [thread overview]
Message-ID: <56558C43.3020106@mailbox.tu-dresden.de> (raw)
In-Reply-To: <5654A3B5.2050101@redhat.com>
Hi Eric,
On 11/24/2015 06:51 PM, Eric Blake wrote:
> This touches the command line, but not any QMP .json files. Is this new
> feature properly discoverable using existing QMP commands, or is this
> something lacking in the proposal?
What exactly discoverability mechanisms must be provided?
The current workflow goes like this:
1. VM is started, works for some time. This will be the migration
source.
2. A migration destination is started, with -checkpoint argument
passed to it (even if the checkpoint file doesn't exist).
3. A migration happens. There is no way to enable checkpoint-assisted
migration at this stage, even if checkpoint file is available. But
the destination computes hashes of pages that it receives.
4. The VM that was migration destination will use checkpoint-assisted
migration from now on.
5. A migration source pauses after migration, and creates a checkpoint
using the dump-guest-memory command. The migration destination has
hashes of pages that are in the checkpoint.
So the migration source uses checkpoint-assisted migration only if it
previously was migration destination with -checkpoint argument. The
very first migration always happens without checkpoint. We can rework
this in the next revisions, if it's required. One option would not to
to store hashes in the migration destination, but to load the
checkpoint explicitly in the migration source before migration.
--
With best regards,
Bohdan Trach
prev parent reply other threads:[~2015-11-25 10:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-24 16:42 [Qemu-devel] [RFC V2, PATCH 0/2] Checkpoint-assisted migration proposal Bohdan Trach
2015-11-24 16:42 ` [Qemu-devel] [PATCH RFC 1/2] migration: implement checkpoint loading Bohdan Trach
2015-11-24 16:42 ` [Qemu-devel] [PATCH RFC 2/2] migration: use checkpoint during migration Bohdan Trach
2015-11-24 17:51 ` [Qemu-devel] [RFC V2, PATCH 0/2] Checkpoint-assisted migration proposal Eric Blake
2015-11-25 10:24 ` Bohdan Trach [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=56558C43.3020106@mailbox.tu-dresden.de \
--to=bohdan.trach@mailbox.tu-dresden.de \
--cc=amit.shah@redhat.com \
--cc=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
--cc=thomas.knauth@googlemail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.