[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 7/8] migration: export migrate_get_current()
From: |
Orit Wasserman |
Subject: |
Re: [Qemu-devel] [PATCH 7/8] migration: export migrate_get_current() |
Date: |
Tue, 21 Aug 2012 13:58:37 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 |
On 08/18/2012 02:17 PM, Juan Quintela wrote:
> Signed-off-by: Juan Quintela <address@hidden>
> ---
> migration.c | 2 +-
> migration.h | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/migration.c b/migration.c
> index 49cd336..186bcf2 100644
> --- a/migration.c
> +++ b/migration.c
> @@ -53,7 +53,7 @@ static NotifierList migration_state_notifiers =
> migrations at once. For now we don't need to add
> dynamic creation of migration */
>
> -static MigrationState *migrate_get_current(void)
> +MigrationState *migrate_get_current(void)
> {
> static MigrationState current_migration = {
> .state = MIG_STATE_SETUP,
> diff --git a/migration.h b/migration.h
> index 3462917..dabc333 100644
> --- a/migration.h
> +++ b/migration.h
> @@ -81,6 +81,7 @@ void remove_migration_state_change_notifier(Notifier
> *notify);
> bool migration_is_active(MigrationState *);
> bool migration_has_finished(MigrationState *);
> bool migration_has_failed(MigrationState *);
> +MigrationState *migrate_get_current(void);
>
> uint64_t ram_bytes_remaining(void);
> uint64_t ram_bytes_transferred(void);
>
Reviewed-by: Orit Wasserman <address@hidden>
- Re: [Qemu-devel] [PATCH 1/8] buffered_file: g_realloc() can't fail, (continued)
- [Qemu-devel] [PATCH 2/8] fix migration sync, Juan Quintela, 2012/08/18
- [Qemu-devel] [PATCH 3/8] migration: move total_time from ram stats to migration info, Juan Quintela, 2012/08/18
- [Qemu-devel] [PATCH 4/8] migration: store end_time in a local variable, Juan Quintela, 2012/08/18
- [Qemu-devel] [PATCH 6/8] migration: rename expected_time to expected_downtime, Juan Quintela, 2012/08/18
- [Qemu-devel] [PATCH 7/8] migration: export migrate_get_current(), Juan Quintela, 2012/08/18
- Re: [Qemu-devel] [PATCH 7/8] migration: export migrate_get_current(),
Orit Wasserman <=
- [Qemu-devel] [PATCH 5/8] migration: print total downtime for final phase of migration, Juan Quintela, 2012/08/18
- [Qemu-devel] [PATCH 8/8] migration: print expected downtime in info migrate, Juan Quintela, 2012/08/18