projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2da5f9e
)
vfio: Also trace event failures in vfio_save_complete_precopy()
author
Cédric Le Goater
<clg@redhat.com>
Thu, 16 May 2024 12:46:58 +0000
(14:46 +0200)
committer
Cédric Le Goater
<clg@redhat.com>
Thu, 16 May 2024 14:59:19 +0000
(16:59 +0200)
vfio_save_complete_precopy() currently returns before doing the trace
event. Change that.
Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/migration.c
patch
|
blob
|
history
diff --git
a/hw/vfio/migration.c
b/hw/vfio/migration.c
index 5d91364f3bbc34060d84b4b4b1823eadbc7b12bf..c4403a38ddb5e7e09fbcde0ad4132653ecaf0d24 100644
(file)
--- a/
hw/vfio/migration.c
+++ b/
hw/vfio/migration.c
@@
-589,9
+589,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);