[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/2] Misc migration fixes
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 0/2] Misc migration fixes |
Date: |
Tue, 25 Apr 2017 12:17:56 +0200 |
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
- [Qemu-devel] [PATCH 0/2] Misc migration fixes,
Juan Quintela <=