[Qemu-devel] [PATCH v2 0/3] Remove of loadvm handlers

Juan Quintela posted 3 patches 6 years, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170530083705.15141-1-quintela@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
There is a newer version of this series
include/migration/migration.h |  5 ----
include/migration/vmstate.h   |  2 --
include/qemu/typedefs.h       |  1 -
migration/migration.c         |  2 --
migration/savevm.c            | 61 ++++++++++++++-----------------------------
5 files changed, 19 insertions(+), 52 deletions(-)
[Qemu-devel] [PATCH v2 0/3] Remove of loadvm handlers
Posted by Juan Quintela 6 years, 10 months ago
Hi

Changes from v1
- store load_version_id field to SaveStateHandler
- Adjust everything to use it

Thanks to Laurent to point that to me.

Please Review.

[v1]
We just have a loadvm handlers that are a new list only used in a
single place.  Just move everything to use the savevm_handlers (yes,
it is a list, and we could have a better name).

Once there, vmstate_load() had three arguments but only needs two.  Fix that.

Juan Quintela (3):
  migration: Use savevm_handlers instead of loadvm copy
  migration: loadvm handlers are not used
  migration: Remove section_id parameter from vmstate_load

 include/migration/migration.h |  5 ----
 include/migration/vmstate.h   |  2 --
 include/qemu/typedefs.h       |  1 -
 migration/migration.c         |  2 --
 migration/savevm.c            | 61 ++++++++++++++-----------------------------
 5 files changed, 19 insertions(+), 52 deletions(-)

-- 
2.9.4