From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> This patch set provides an optional parameter to 'migrate' giving the destination QEMU version, it's intended for those having to maintain compatibility between minor versions (including downstream versions) and also for those who need to think about backwards migration.
There aren't any uses of the migration version in this patch set, however uses I can think of include: a) Generating an old format for a particular device when sent to a particular version b) Fudging a register value for a particular version c) Fudging around more general problems (e.g. the 1.6.x short PCI naming) If we had a way for the 'save' side of migrate to fail cleanly with an error then we could also do some pre-migrate checks and flag things that just aren't going to work (e.g. noticing that a new feature is enabled on a device that the old one doesn't have). Dave Dr. David Alan Gilbert (3): hmp: Allow options with parameters Pass optional destination version hint to migrate Add optional migrate version to hmp migrate command hmp-commands.hx | 9 ++-- hmp.c | 109 +++++++++++++++++++++++++++++++++++++++++- include/migration/migration.h | 1 + migration.c | 17 +++++++ monitor.c | 19 +++++++- qapi-schema.json | 5 +- qmp-commands.hx | 3 +- 7 files changed, 155 insertions(+), 8 deletions(-) -- 1.9.3