[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 25/26] vfio: Also trace event failures in vfio_save_complete_p
From: |
Cédric Le Goater |
Subject: |
[PATCH v3 25/26] vfio: Also trace event failures in vfio_save_complete_precopy() |
Date: |
Mon, 4 Mar 2024 13:28:43 +0100 |
vfio_save_complete_precopy() currently returns before doing the trace
event. Change that.
Signed-off-by: Cédric Le Goater <clg@redhat.com>
---
hw/vfio/migration.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/hw/vfio/migration.c b/hw/vfio/migration.c
index
4c4ccbaed10b82e7baa992770ec0ec5a6c82b757..4469ac6abafd4fa0cbf1df54faebc975c92bbcf2
100644
--- a/hw/vfio/migration.c
+++ b/hw/vfio/migration.c
@@ -580,9 +580,6 @@ static int vfio_save_complete_precopy(QEMUFile *f, void
*opaque)
qemu_put_be64(f, VFIO_MIG_FLAG_END_OF_STATE);
ret = qemu_file_get_error(f);
- if (ret) {
- return ret;
- }
trace_vfio_save_complete_precopy(vbasedev->name, ret);
--
2.44.0
- Re: [PATCH v3 14/26] memory: Add Error** argument to .log_global*() handlers, (continued)
- [PATCH v3 12/26] migration: Add Error** argument to .save_setup() handler, Cédric Le Goater, 2024/03/04
- [PATCH v3 17/26] vfio: Add Error** argument to .set_dirty_page_tracking() handler, Cédric Le Goater, 2024/03/04
- [PATCH v3 19/26] vfio: Add Error** argument to vfio_devices_dma_logging_stop(), Cédric Le Goater, 2024/03/04
- [PATCH v3 11/26] migration: Add Error** argument to qemu_savevm_state_setup(), Cédric Le Goater, 2024/03/04
- [PATCH v3 15/26] memory: Add Error** argument to the global_dirty_log routines, Cédric Le Goater, 2024/03/04
- [PATCH v3 16/26] migration: Modify ram_init_bitmaps() to report dirty tracking errors, Cédric Le Goater, 2024/03/04
- [PATCH v3 22/26] vfio: Reverse test on vfio_get_dirty_bitmap(), Cédric Le Goater, 2024/03/04
- [PATCH v3 25/26] vfio: Also trace event failures in vfio_save_complete_precopy(),
Cédric Le Goater <=
- [PATCH v3 26/26] vfio: Extend vfio_set_migration_error() with Error* argument, Cédric Le Goater, 2024/03/04
- [PATCH v3 20/26] vfio: Use new Error** argument in vfio_save_setup(), Cédric Le Goater, 2024/03/04
- [PATCH v3 18/26] vfio: Add Error** argument to vfio_devices_dma_logging_start(), Cédric Le Goater, 2024/03/04
- [PATCH v3 24/26] vfio: Add Error** argument to .get_dirty_bitmap() handler, Cédric Le Goater, 2024/03/04
- [PATCH v3 23/26] memory: Add Error** argument to memory_get_xlat_addr(), Cédric Le Goater, 2024/03/04
- [PATCH v3 21/26] vfio: Add Error** argument to .vfio_save_config() handler, Cédric Le Goater, 2024/03/04
- Re: [PATCH v3 00/26] migration: Improve error reporting, Peter Xu, 2024/03/05