[Qemu-devel] [PATCH 0/2] Misc migration fixes

Juan Quintela posted 2 patches 6 years, 11 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20170425101758.3944-1-quintela@redhat.com
Test checkpatch passed
Test docker passed
Test s390x passed
hw/core/qdev.c                | 15 ++++++++++++++-
include/migration/migration.h |  3 ---
include/migration/vmstate.h   |  2 ++
migration/migration.c         | 15 ---------------
migration/savevm.c            | 10 ++++++++++
migration/socket.c            |  1 -
migration/tls.c               |  1 -
stubs/vmstate.c               |  5 ++---
8 files changed, 28 insertions(+), 24 deletions(-)
[Qemu-devel] [PATCH 0/2] Misc migration fixes
Posted by Juan Quintela 6 years, 11 months ago
Hi

This are independent of all my series, so send then here.

- check_migratable needs to now about objects, device class, etc, that
  migration code don't care.  So move it to qdev.c.

- to_dst_file is set to NULL before this call, just remove it.  Long
  term idea is that nothing outside migration.c should now about
  members of MigrationState.

Please, review.

Juan Quintela (2):
  migration: Move check_migratable() into qdev.c
  migration: to_dst_file at that point is NULL

 hw/core/qdev.c                | 15 ++++++++++++++-
 include/migration/migration.h |  3 ---
 include/migration/vmstate.h   |  2 ++
 migration/migration.c         | 15 ---------------
 migration/savevm.c            | 10 ++++++++++
 migration/socket.c            |  1 -
 migration/tls.c               |  1 -
 stubs/vmstate.c               |  5 ++---
 8 files changed, 28 insertions(+), 24 deletions(-)

-- 
2.9.3