[PATCH 03/11] migration: Make migration json writer part of MigrationState struct

2022-10-04 Thread Nikolay Borisov via
This is required so that migration stream configuration is written to the migration stream. This would allow analyze-migration to parse enabled capabilities for the migration and adjust its behavior accordingly. This is in preparation for analyze-migration.py to support 'fixed-ram' capability

[PATCH 11/11] analyze-migration.py: add initial support for fixed ram streams

2022-10-04 Thread Nikolay Borisov via
This commit introduces the minimum code necessary to support parsing migration strems with 'fixed-ram' capability set. The only thing really missing is the implementation of write_or_dump_fixed_ram() which deals with '-x'/'-m' options. Signed-off-by: Nikolay Borisov ---

[PATCH 01/11] migration: support file: uri for source migration

2022-10-04 Thread Nikolay Borisov via
Implement support for a "file:" uri so that a migration can be initiated directly to a file from QEMU. Signed-off-by: Nikolay Borisov --- migration/file.c | 23 +++ migration/file.h | 9 + migration/meson.build | 1 + migration/migration.c | 3 +++ 4