[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/6] migration: objectify MigrationState
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v2 0/6] migration: objectify MigrationState |
Date: |
Fri, 9 Jun 2017 11:48:56 +0800 |
v2
- (I didn't add Juan's r-b since I touched the patches)
- remove once parameter in migrate_get_current() since not needed
- add one more patch to export register_compat_prop(), then use it in
the following patches in xen_init().
I picked this topic out as suggested by Juan. Also I did what Juan has
suggested in previous discussions that I moved lots of global
parameters into MigrationState, and let them be properties. Then we
can use HW_COMPAT_* and "-global migration.xxx=xxx" formular.
Currently register_compat_prop() is exported to be used by xen_init().
If this can be merged and okay, we can move on to convert more things
into properties for migration.
Please review. Thanks.
Peter Xu (6):
machine: export register_compat_prop()
migration: let MigrationState be a qdev
migration: move global_state.optional out
migration: move only_migratable to MigrationState
migration: move skip_configuration out
migration: move skip_section_footers
hw/core/machine.c | 6 +--
hw/i386/pc_piix.c | 3 --
hw/ppc/spapr.c | 3 --
hw/xen/xen-common.c | 12 ++++--
include/hw/boards.h | 3 ++
include/hw/compat.h | 12 ++++++
include/migration/migration.h | 36 +++++++++++++++--
include/sysemu/sysemu.h | 1 -
migration/migration.c | 92 +++++++++++++++++++++++++++++--------------
migration/savevm.c | 28 ++++---------
vl.c | 9 ++++-
11 files changed, 136 insertions(+), 69 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 0/6] migration: objectify MigrationState,
Peter Xu <=