All of lore.kernel.org
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: Eric Blake <eblake@redhat.com>
Cc: liang.z.li@intel.com, mjt@tls.msk.ru,
	"Dr. David Alan Gilbert (git)" <dgilbert@redhat.com>,
	qemu-devel@nongnu.org, amit.shah@redhat.com, pbonzini@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 2/3] Add migrate_incoming
Date: Wed, 11 Feb 2015 19:24:36 +0100	[thread overview]
Message-ID: <877fvo8fx7.fsf@neno.neno> (raw)
In-Reply-To: <54DB8F37.2080101@redhat.com> (Eric Blake's message of "Wed, 11 Feb 2015 10:19:51 -0700")

Eric Blake <eblake@redhat.com> wrote:
> On 02/11/2015 09:46 AM, Dr. David Alan Gilbert (git) wrote:
>> From: "Dr. David Alan Gilbert" <dgilbert@redhat.com>
>> 
>> Add migrate_incoming/migrate-incoming to start an incoming
>> migration.
>> 
>> Once a qemu has been started with
>>     -incoming pause
>> 
>> the migration can be started by issuing:
>>     migrate_incoming uri
>> 
>> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
>> ---
>>  hmp-commands.hx       | 16 ++++++++++++++++
>>  hmp.c                 | 14 ++++++++++++++
>>  hmp.h                 |  1 +
>>  migration/migration.c | 19 +++++++++++++++++++
>>  qapi-schema.json      | 15 +++++++++++++++
>>  qmp-commands.hx       | 31 ++++++++++++++++++++++++++++++-
>>  6 files changed, 95 insertions(+), 1 deletion(-)
>> 
>
>> +++ b/migration/migration.c
>> @@ -432,6 +432,25 @@ void migrate_del_blocker(Error *reason)
>>      migration_blockers = g_slist_remove(migration_blockers, reason);
>>  }
>>  
>> +void qmp_migrate_incoming(const char *uri, Error **errp)
>> +{
>> +    Error *local_err = NULL;
>> +
>> +    if (!paused_incoming) {
>> +        error_setg(errp, "-incoming pause is required for migrate_incoming");
>
> Might read easier as "'-incoming pause' is required...", but that's minor.
>
> Reviewed-by: Eric Blake <eblake@redhat.com>

As this is a very minor fix, I apply it by hand on my tree.

Thanks to all reviewers.

Applied, Juan.

  reply	other threads:[~2015-02-11 18:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-11 16:46 [Qemu-devel] [PATCH v2 0/3] -incoming pause Dr. David Alan Gilbert (git)
2015-02-11 16:46 ` [Qemu-devel] [PATCH v2 1/3] Add " Dr. David Alan Gilbert (git)
2015-02-11 16:46 ` [Qemu-devel] [PATCH v2 2/3] Add migrate_incoming Dr. David Alan Gilbert (git)
2015-02-11 17:19   ` Eric Blake
2015-02-11 18:24     ` Juan Quintela [this message]
2015-02-11 18:20   ` Juan Quintela
2015-02-11 18:22     ` Dr. David Alan Gilbert
2015-02-11 16:46 ` [Qemu-devel] [PATCH v2 3/3] Document -incoming options Dr. David Alan Gilbert (git)
2015-02-17 12:46 ` [Qemu-devel] [PATCH v2 0/3] -incoming pause Amit Shah
2015-02-17 13:27   ` Dr. David Alan Gilbert
2015-02-17 14:59     ` Amit Shah
2015-02-17 16:14       ` Eric Blake
2015-02-17 20:13         ` Dr. David Alan Gilbert
2015-02-18  5:43           ` Amit Shah
2015-02-18  5:40         ` Amit Shah

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=877fvo8fx7.fsf@neno.neno \
    --to=quintela@redhat.com \
    --cc=amit.shah@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=liang.z.li@intel.com \
    --cc=mjt@tls.msk.ru \
    --cc=pbonzini@redhat.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 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.