[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH RFC 02/14] migration: judge whether or not the RDMA is used f
From: |
Juan Quintela |
Subject: |
Re: [PATCH RFC 02/14] migration: judge whether or not the RDMA is used for migration |
Date: |
Thu, 13 Feb 2020 11:04:09 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Zhimin Feng <address@hidden> wrote:
> Signed-off-by: Zhimin Feng <address@hidden>
> ---
> migration/migration.c | 10 ++++++++++
> migration/migration.h | 1 +
> 2 files changed, 11 insertions(+)
>
> diff --git a/migration/migration.c b/migration/migration.c
> index 10a13e0c79..819089a7ea 100644
> --- a/migration/migration.c
> +++ b/migration/migration.c
> @@ -107,6 +107,7 @@ static NotifierList migration_state_notifiers =
> NOTIFIER_LIST_INITIALIZER(migration_state_notifiers);
>
> static bool deferred_incoming;
> +static bool enabled_rdma_migration;
Please no.
Use a field in migration state.
No problem with the rest ofthe patch.
Later, Juan.
- [PATCH RFC 00/14] *** multifd for RDMA v2 ***, Zhimin Feng, 2020/02/13
- [PATCH RFC 01/14] migration: add the 'migrate_use_rdma_pin_all' function, Zhimin Feng, 2020/02/13
- [PATCH RFC 02/14] migration: judge whether or not the RDMA is used for migration, Zhimin Feng, 2020/02/13
- Re: [PATCH RFC 02/14] migration: judge whether or not the RDMA is used for migration,
Juan Quintela <=
- [PATCH RFC 03/14] migration/rdma: Create multiFd migration threads, Zhimin Feng, 2020/02/13
- [PATCH RFC 11/14] migration/rdma: use multifd to migrate VM for rdma-pin-all mode, Zhimin Feng, 2020/02/13
- [PATCH RFC 10/14] migration/rdma: Wait for all multifd to complete registration, Zhimin Feng, 2020/02/13
- [PATCH RFC 12/14] migration/rdma: use multifd to migrate VM for NOT rdma-pin-all mode, Zhimin Feng, 2020/02/13
- [PATCH RFC 06/14] migration/rdma: Transmit initial packet, Zhimin Feng, 2020/02/13
- [PATCH RFC 07/14] migration/rdma: Export the 'qemu_rdma_registration_handle' and 'qemu_rdma_exchange_send' functions, Zhimin Feng, 2020/02/13
- [PATCH RFC 05/14] migration/rdma: Create the multifd channels for RDMA, Zhimin Feng, 2020/02/13