• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisión9200265838e5e6f43b1acdafb610d0a813b801c1 (tree)
Tiempo2022-01-28 23:38:23
AutorDavid Edmondson <david.edmondson@orac...>
CommiterJuan Quintela

Log Message

migration: Report the error returned when save_live_iterate fails

Should qemu_savevm_state_iterate() encounter a failure when calling a
particular save_live_iterate function, report the error code returned
by the function.

Signed-off-by: David Edmondson <david.edmondson@oracle.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>

Cambiar Resumen

Diferencia incremental

--- a/migration/savevm.c
+++ b/migration/savevm.c
@@ -1298,8 +1298,9 @@ int qemu_savevm_state_iterate(QEMUFile *f, bool postcopy)
12981298 save_section_footer(f, se);
12991299
13001300 if (ret < 0) {
1301- error_report("failed to save SaveStateEntry with id(name): %d(%s)",
1302- se->section_id, se->idstr);
1301+ error_report("failed to save SaveStateEntry with id(name): "
1302+ "%d(%s): %d",
1303+ se->section_id, se->idstr, ret);
13031304 qemu_file_set_error(f, ret);
13041305 }
13051306 if (ret <= 0) {