All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v3 0/3]  Remove of loadvm handlers
@ 2017-05-31  9:17 Juan Quintela
  2017-05-31  9:17 ` [Qemu-devel] [PATCH v3 1/3] migration: Use savevm_handlers instead of loadvm copy Juan Quintela
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Juan Quintela @ 2017-05-31  9:17 UTC (permalink / raw)
  To: qemu-devel; +Cc: dgilbert, lvivier, peterx

Hi

Changes from v2
- also store load_section_id (dave found the problem)

I think that we can remove it now, at least.

Thanks, Juan.

[v2]
- store load_version_id field to SaveStateHandler
- Adjust everything to use it

Thanks to Laurent to point that to me.

[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            | 64 +++++++++++++++----------------------------
 5 files changed, 22 insertions(+), 52 deletions(-)

-- 
2.9.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-06-01  5:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31  9:17 [Qemu-devel] [PATCH v3 0/3] Remove of loadvm handlers Juan Quintela
2017-05-31  9:17 ` [Qemu-devel] [PATCH v3 1/3] migration: Use savevm_handlers instead of loadvm copy Juan Quintela
2017-05-31  9:17 ` [Qemu-devel] [PATCH v3 2/3] migration: loadvm handlers are not used Juan Quintela
2017-05-31  9:17 ` [Qemu-devel] [PATCH v3 3/3] migration: Remove section_id parameter from vmstate_load Juan Quintela
2017-05-31 11:39   ` Dr. David Alan Gilbert
2017-06-01  5:58     ` Peter Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.