[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/2] migration/vmstate: Introduce vmstate_save_state_with_
|
From: |
Juan Quintela |
|
Subject: |
Re: [PATCH v5 1/2] migration/vmstate: Introduce vmstate_save_state_with_err |
|
Date: |
Tue, 03 Oct 2023 14:39:55 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) |
Tejus GK <tejus.gk@nutanix.com> wrote:
> Currently, a few code paths exist in the function vmstate_save_state_v,
> which ultimately leads to a migration failure. However, an update in the
> current MigrationState for the error description is never done.
>
> vmstate.c somehow doesn't seem to allow the use of migrate_set_error due
> to some dependencies for unit tests. Hence, this patch introduces a new
> function vmstate_save_state_with_err, which will eventually propagate
> the error message to savevm.c where a migrate_set_error call can be
> eventually done.
>
> Acked-by: Peter Xu <peterx@redhat.com>
> Signed-off-by: Tejus GK <tejus.gk@nutanix.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
- [PATCH v5 0/2] migration: Update error description outside migration.c, Tejus GK, 2023/10/03
- [PATCH v5 1/2] migration/vmstate: Introduce vmstate_save_state_with_err, Tejus GK, 2023/10/03
- Re: [PATCH v5 1/2] migration/vmstate: Introduce vmstate_save_state_with_err,
Juan Quintela <=
- [PATCH v5 2/2] migration: Update error description outside migration.c, Tejus GK, 2023/10/03
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Juan Quintela, 2023/10/03
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Tejus GK, 2023/10/04
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Juan Quintela, 2023/10/04
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Tejus GK, 2023/10/04
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Juan Quintela, 2023/10/04
- Re: [PATCH v5 2/2] migration: Update error description outside migration.c, Juan Quintela, 2023/10/04