mbox series

[v2,0/2] migration: do not exit on incoming failure

Message ID 20240424174245.1237942-1-vsementsov@yandex-team.ru (mailing list archive)
Headers show
Series migration: do not exit on incoming failure | expand

Message

Vladimir Sementsov-Ogievskiy April 24, 2024, 5:42 p.m. UTC
Hi all!

The series brings an option to not immediately exit on incoming
migration failure, giving a possibility to orchestrator to get the error
through QAPI and shutdown QEMU by "quit".

Vladimir Sementsov-Ogievskiy (2):
  migration: rework migrate_set_error() to migrate_report_err()
  qapi: introduce exit-on-error paramter for migrate-incoming

 migration/migration-hmp-cmds.c |  2 +-
 migration/migration.c          | 79 +++++++++++++++-------------------
 migration/migration.h          |  5 ++-
 migration/multifd.c            | 18 +++-----
 migration/postcopy-ram.c       |  3 +-
 migration/savevm.c             | 16 +++----
 qapi/migration.json            |  7 ++-
 system/vl.c                    |  7 +--
 8 files changed, 60 insertions(+), 77 deletions(-)