I'm sorry, cover-letter missed qemu-devel. add it.

On 21.02.26 00:01, Vladimir Sementsov-Ogievskiy wrote:
Hi all!

As it was discussed here

   https://lore.kernel.org/qemu-devel/[email protected]/

vmstate_load/save_state() return code is not actually used other
then check for success. Let's convert them to bool.

Also, on same way, introduce errp handlers in VMStateInfo, and
move to them.

This series converts only migration/ code. Series converting
other subsystems will follow.

v1 was "[RFC 00/22] migration: convert vmstate_load/save_state"
Supersedes: <[email protected]>

Vladimir Sementsov-Ogievskiy (16):
   migration: vmstate_save_state_v: fix double error_setg
   migration: make vmstate_save_state_v() static
   migration: make .post_save() a void function
   migration: vmstate_load_state(): add some newlines
   migration: vmstate_save/load_state(): stop tracing errors
   migration: factor out vmstate_pre_save() from vmstate_save_state()
   migration: factor out vmstate_save_field() from vmstate_save_state()
   migration: factor out vmstate_pre_load() from vmstate_load_state()
   migration: factor out vmstate_load_field() from vmstate_load_state()
   migration: factor out vmstate_post_load() from vmstate_load_state()
   migration: convert vmstate_subsection_save/load functions to bool
   migration: VMStateInfo: introduce new handlers with errp
   migration: introduce vmstate_load_vmsd() and vmstate_save_vmsd()
   migration/cpr: move to new migration APIs
   migration/savevm: move to new migration APIs
   migration/vmstate-types: move to new migration APIs

  docs/devel/migration/main.rst |   2 +-
  hw/ppc/spapr_pci.c            |   3 +-
  include/migration/cpr.h       |   2 +-
  include/migration/vmstate.h   |  39 ++-
  migration/cpr.c               |  22 +-
  migration/savevm.c            | 110 +++---
  migration/trace-events        |  29 +-
  migration/vmstate-types.c     | 637 +++++++++++++++++-----------------
  migration/vmstate.c           | 349 +++++++++++--------
  target/arm/machine.c          |   4 +-
  10 files changed, 642 insertions(+), 555 deletions(-)



--
Best regards,
Vladimir

Reply via email to