aboutsummaryrefslogtreecommitdiff
path: root/backends/hostmem-file.c
diff options
context:
space:
mode:
authorTejus GK <tejus.gk@nutanix.com>2023-10-03 06:55:38 +0000
committerJuan Quintela <quintela@redhat.com>2023-10-04 10:54:40 +0200
commit848a0503422d043d541130d5e3e2f7bc147cdef9 (patch)
tree7912f04315546e59d30faa03d7380b1803e950f2 /backends/hostmem-file.c
parent969298f9d7ed0ccad39203bc3656805cbf0893d4 (diff)
downloadqemu-848a0503422d043d541130d5e3e2f7bc147cdef9.zip
qemu-848a0503422d043d541130d5e3e2f7bc147cdef9.tar.gz
qemu-848a0503422d043d541130d5e3e2f7bc147cdef9.tar.bz2
migration: Update error description outside migration.c
A few code paths exist in the source code,where a migration is marked as failed via MIGRATION_STATUS_FAILED, but the failure happens outside of migration.c In such cases, an error_report() call is made, however the current MigrationState is never updated with the error description, and hence clients like libvirt never know the actual reason for the failure. This patch covers such cases outside of migration.c and updates the error description at the appropriate places. Acked-by: Peter Xu <peterx@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Tejus GK <tejus.gk@nutanix.com> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-ID: <20231003065538.244752-3-tejus.gk@nutanix.com>
Diffstat (limited to 'backends/hostmem-file.c')
0 files changed, 0 insertions, 0 deletions