[RFC v2 1/1] migration: Update error description whenever migration fails

2023-05-08 Thread tejus.gk
There are places in the code where the migration is marked failed with MIGRATION_STATUS_FAILED, but the failiure reason is never updated. Hence libvirt doesn't know why the migration failed when it queries for it. Signed-off-by: tejus.gk --- migration/migration.c

[RFC v2 0/1] migration: Update error description whenever migration fails

2023-05-08 Thread tejus.gk
Hi everyone, Thanks for the reviews. This is the v2 patchset based on the reviews recieved for the previous one. Links to previous patchsets: v1: https://lists.gnu.org/archive/html/qemu-devel/2023-05/msg00868.html tejus.gk (1): migration: Update error description whenever migration fails

[RFC 1/1] migration: Update error description whenever migration fails

2023-05-03 Thread tejus.gk
There are places in the code where the migration is marked failed with MIGRATION_STATUS_FAILED, but the failiure reason is never updated. Hence libvirt doesn't know why the migration failed when it queries for it. Signed-off-by: tejus.gk --- migration/migration.c | 8 1 file chang

[RFC 0/1] migration: Update error description whenever migration fails

2023-05-03 Thread tejus.gk
description can be updated here itself, rather than updating it in the function migration_completion, present in migration/migration.c. tejus.gk (1): migration: Update error description whenever migration fails migration/migration.c | 8 1 file changed, 8 insertions(+) -- 2.22.3