[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 17/18] migration: add prefix for local migration
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 17/18] migration: add prefix for local migration to incoming migration |
Date: |
Wed, 21 Aug 2013 12:52:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 |
Il 21/08/2013 09:18, Lei Li ha scritto:
> Signed-off-by: Lei Li <address@hidden>
> ---
> migration.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/migration.c b/migration.c
> index 2471664..17cf2fd 100644
> --- a/migration.c
> +++ b/migration.c
> @@ -81,6 +81,9 @@ void qemu_start_incoming_migration(const char *uri, Error
> **errp)
> unix_start_incoming_migration(p, errp);
> else if (strstart(uri, "fd:", &p))
> fd_start_incoming_migration(p, errp);
> + else if (strstart(uri, "local:", &p))
> + local_start_incoming_migration(p, errp);
> +
> #endif
> else {
> error_setg(errp, "unknown migration protocol: %s", uri);
>
This should not be needed. The destination can just use the normal
unix: protocol. The load hook will only be called if the source uses
localhost migration, and it will get the pipe via SCM_RIGHTS then
process the pipe.
Paolo
- Re: [Qemu-devel] [PATCH 15/18] migration: adjust migration_thread for local migration, (continued)
[Qemu-devel] [PATCH 17/18] migration: add prefix for local migration to incoming migration, Lei Li, 2013/08/21
- Re: [Qemu-devel] [PATCH 17/18] migration: add prefix for local migration to incoming migration,
Paolo Bonzini <=
[Qemu-devel] [PATCH 16/18] migration-local: implementation of incoming part, Lei Li, 2013/08/21
[Qemu-devel] [PATCH 18/18] hmp: better fomat for info migrate_capabilities, Lei Li, 2013/08/21