[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_stat
From: |
Fabiano Rosas |
Subject: |
Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup() |
Date: |
Thu, 07 Mar 2024 09:45:20 -0300 |
Cédric Le Goater <clg@redhat.com> writes:
> This prepares ground for the changes coming next which add an Error**
> argument to the .save_setup() handler. Callers of qemu_savevm_state_setup()
> now handle the error and fail earlier setting the migration state from
> MIGRATION_STATUS_SETUP to MIGRATION_STATUS_FAILED.
>
> In qemu_savevm_state(), move the cleanup to preserve the error
> reported by .save_setup() handlers.
>
> Since the previous behavior was to ignore errors at this step of
> migration, this change should be examined closely to check that
> cleanups are still correctly done.
>
> Signed-off-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
- [PATCH v4 05/25] s390/stattrib: Add Error** argument to set_migrationmode() handler, (continued)
- [PATCH v4 05/25] s390/stattrib: Add Error** argument to set_migrationmode() handler, Cédric Le Goater, 2024/03/06
- [PATCH v4 07/25] migration: Always report an error in block_save_setup(), Cédric Le Goater, 2024/03/06
- [PATCH v4 09/25] migration: Add Error** argument to vmstate_save(), Cédric Le Goater, 2024/03/06
- [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/06
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(),
Fabiano Rosas <=
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Peter Xu, 2024/03/08
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/08
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/08
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/08
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Peter Xu, 2024/03/08
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/11
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Peter Xu, 2024/03/11
- Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Fabiano Rosas, 2024/03/08
Re: [PATCH v4 10/25] migration: Add Error** argument to qemu_savevm_state_setup(), Fabiano Rosas, 2024/03/08