From: Anthony Liguori <anthony@codemonkey.ws>
To: lirans@il.ibm.com
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 3/3 v4] Enable migration without shared storage from the monitor
Date: Wed, 21 Oct 2009 13:27:39 -0500 [thread overview]
Message-ID: <4ADF529B.8020300@codemonkey.ws> (raw)
In-Reply-To: <12553639352145-git-send-email-lirans@il.ibm.com>
lirans@il.ibm.com wrote:
> This patch adds the option to activate non-shared storage migration from the
> monitor.
> The migration command is as follows:
> (qemu) migrate -d tcp:0:4444 # for ordinary live migration
> (qemu) migrate -d -b tcp:0:4444 # for live migration with complete storage copy
> (qemu) migrate -d -i tcp:0:4444 # for live migration with incremental storage copy, storage is cow based.
>
> Signed-off-by: Liran Schour <lirans@il.ibm.com>
> ---
> diff --git a/monitor.c b/monitor.c
> index 3424e60..ae29181 100644
> --- a/monitor.c
> +++ b/monitor.c
> @@ -2907,6 +2907,18 @@ static int default_fmt_size = 4;
>
> #define MAX_ARGS 16
>
> +static int is_valid_option(const char *c, const char *typestr)
> +{
> + char option[3];
> +
> + option[0] = '-';
> + option[1] = *c;
> + option[2] = '\0';
> +
> + typestr = strstr(typestr, option);
> + return (typestr != NULL);
> +}
>
This is pretty darn funky. Can you explain why this is needed?
Regards,
Anthony Liguori
next prev parent reply other threads:[~2009-10-21 18:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-12 16:12 [Qemu-devel] [PATCH 3/3 v4] Enable migration without shared storage from the monitor lirans
2009-10-21 18:27 ` Anthony Liguori [this message]
2009-10-22 8:05 ` Liran Schour
-- strict thread matches above, loose matches on Subject: below --
2009-10-12 15:04 lirans
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=4ADF529B.8020300@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=lirans@il.ibm.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).