[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v7 23/42] MIGRATION_STATUS_POSTCOPY_ACTIVE: Add
From: |
Amit Shah |
Subject: |
Re: [Qemu-devel] [PATCH v7 23/42] MIGRATION_STATUS_POSTCOPY_ACTIVE: Add new migration state |
Date: |
Tue, 21 Jul 2015 16:03:07 +0530 |
On (Tue) 16 Jun 2015 [11:26:36], Dr. David Alan Gilbert (git) wrote:
> - if (s->state == MIGRATION_STATUS_ACTIVE ||
> - s->state == MIGRATION_STATUS_SETUP) {
> + if (migration_already_active(s)) {
(I know, not introduced here, but:)
A better name is migration_is_active()
> +bool migration_postcopy_phase(MigrationState *s)
> +{
> + return (s->state == MIGRATION_STATUS_POSTCOPY_ACTIVE);
> +}
And this is better named migration_in_postcopy()
otherwise,
Reviewed-by: Amit Shah <address@hidden>
Amit
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v7 23/42] MIGRATION_STATUS_POSTCOPY_ACTIVE: Add new migration state,
Amit Shah <=