From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
To: Zhang Chen <chen.zhang@intel.com>
Cc: Juan Quintela <quintela@redhat.com>, qemu-dev <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] migration/migration.c: Add COLO dependency checks
Date: Wed, 21 Nov 2018 11:38:33 +0000 [thread overview]
Message-ID: <20181121113832.GB6103@work-vm> (raw)
In-Reply-To: <20181114190912.7242-1-chen.zhang@intel.com>
* Zhang Chen (chen.zhang@intel.com) wrote:
> From: Zhang Chen <chen.zhang@intel.com>
>
> Current COLO mode(independent disk mode) need replication module work
> together. Suggested by Dr. David Alan Gilbert <dgilbert@redhat.com>.
>
> Signed-off-by: Zhang Chen <chen.zhang@intel.com>
Queued
> ---
> migration/migration.c | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/migration/migration.c b/migration/migration.c
> index b261c1e4ce..49ffb9997a 100644
> --- a/migration/migration.c
> +++ b/migration/migration.c
> @@ -918,6 +918,15 @@ static bool migrate_caps_check(bool *cap_list,
> }
> #endif
>
> +#ifndef CONFIG_REPLICATION
> + if (cap_list[MIGRATION_CAPABILITY_X_COLO]) {
> + error_setg(errp, "QEMU compiled without replication module"
> + " can't enable COLO");
> + error_append_hint(errp, "Please enable replication before COLO.\n");
> + return false;
> + }
> +#endif
> +
> if (cap_list[MIGRATION_CAPABILITY_POSTCOPY_RAM]) {
> if (cap_list[MIGRATION_CAPABILITY_COMPRESS]) {
> /* The decompression threads asynchronously write into RAM
> --
> 2.17.GIT
>
>
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK
prev parent reply other threads:[~2018-11-21 11:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-14 19:09 [Qemu-devel] [PATCH] migration/migration.c: Add COLO dependency checks Zhang Chen
2018-11-15 3:54 ` Peter Xu
2018-11-21 9:50 ` Zhang Chen
2018-11-21 11:38 ` 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=20181121113832.GB6103@work-vm \
--to=dgilbert@redhat.com \
--cc=chen.zhang@intel.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).