From: Stefan Hajnoczi <stefanha@gmail.com>
To: "Shribman, Aidan" <aidan.shribman@sap.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Add warmup phase for live migration of large memory apps
Date: Wed, 11 May 2011 10:19:36 +0100 [thread overview]
Message-ID: <BANLkTin4CafV8QRx85Q+C7hq1axoERkc9g@mail.gmail.com> (raw)
In-Reply-To: <AB5A8C7661872E428D6B8E1C2DFA35085CAA5A80A2@DEWDFECCR02.wdf.sap.corp>
On Wed, May 11, 2011 at 8:58 AM, Shribman, Aidan <aidan.shribman@sap.com> wrote:
> From: Aidan Shribman <aidan.shribman@sap.com>
>
> [PATCH] Add warmup phase for live migration of large memory apps
>
> By invoking "migrate -w <url>" we initiate a background live-migration
> transferring of dirty pages continuously until invocation of "migrate_end"
> which attempts to complete the live migration operation.
What is the purpose of this patch? How and when do I use it?
Some nitpicks:
> @@ -81,6 +83,11 @@ int do_migrate(Monitor *mon, const QDict *qdict, QObject **ret_data)
> int blk = qdict_get_try_bool(qdict, "blk", 0);
> int inc = qdict_get_try_bool(qdict, "inc", 0);
> const char *uri = qdict_get_str(qdict, "uri");
> + is_migrate_warmup = qdict_get_try_bool(qdict, "warmup", 0);
> +
> + if (is_migrate_warmup) {
> + detach = 1; /* as we need migrate_end to complte */
s/complte/complete/
> + }
Please follow the coding style and put the closing curly brace on the
same column as the 'if' statement.
> +int qemu_savevm_state_warmup(Monitor *mon, QEMUFile *f) {
> + int ret = 1;
1 is overwritten immediately.
Stefan
next prev parent reply other threads:[~2011-05-11 9:19 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-11 7:58 [Qemu-devel] [PATCH] Add warmup phase for live migration of large memory apps Shribman, Aidan
2011-05-11 9:19 ` Stefan Hajnoczi [this message]
2011-05-12 8:42 ` Shribman, Aidan
2011-05-12 10:39 ` Juan Quintela
2011-05-12 10:54 ` Isaku Yamahata
2011-05-13 2:55 ` Yoshiaki Tamura
2011-05-15 14:25 ` Shribman, Aidan
2011-05-11 13:35 ` Anthony Liguori
2011-05-11 14:23 ` Shribman, Aidan
2011-05-12 10:57 ` Juan Quintela
2011-05-12 11:23 ` Shribman, Aidan
2011-05-12 13:12 ` Anthony Liguori
2011-05-12 10:55 ` Juan Quintela
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=BANLkTin4CafV8QRx85Q+C7hq1axoERkc9g@mail.gmail.com \
--to=stefanha@gmail.com \
--cc=aidan.shribman@sap.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).