scripts/migration: Fix analyze-migration.py and add a test
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest6 patches 12 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | migration: Add the configuration vmstate to the json writermigration/ migration/ | +17 | 2 replies | |
| 2/6 | migration: Fix analyze-migration.py 'configuration' parsingscripts/ | +14 | 1 reply | |
| 3/6 | migration: Add capability parsing to analyze-migration.pyscripts/ | +38 | 1 reply | |
| 4/6 | migration: Fix analyze-migration.py when ignore-shared is usedscripts/ | +5 | 3 replies | |
| 5/6 | migration: Fix analyze-migration read operation signednessscripts/ | +3 | 1 reply | |
| 6/6 | tests/qtest/migration: Add a test for the analyze-migration scripttests/ tests/ | +62 | 3 replies |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Thomas Huth | Juan Quintela |
|---|---|---|
| 1/6 | R-b | |
| 2/6 | R-b | |
| 3/6 | R-b | |
| 4/6 | R-b | |
| 5/6 | R-b | |
| 6/6 | A-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/6] scripts/migration: Fix analyze-migration.py and add a test
was: [PATCH] qtest/migration: Add a test for the analyze-migration script
https://lore.kernel.org/r/[email protected]
The analyze-migration.py script should be kept in sync with the code that generates the migration stream. The addition/removal of sections and flags from the stream can cause the script to break. Issues when parsing the stream mostly manifest in the form of cryptic python errors such as:
Looking at git log, it seems that this is a fairly useful script for people debugging issues with the migration stream. Let's add a test for it to catch bugs early avoid keeping a broken script in the tree.
People suggested putting this in avocado or a dedicated shell script. I hope looking at the patches it becomes clear that it's best to have this along with migration-test. Mostly to avoid duplicating capabilities code and arch-specific flags.
CI run: https://gitlab.com/farosas/qemu/-/pipelines/1030789937
Fabiano Rosas (5):
migration: Fix analyze-migration.py 'configuration' parsing
migration: Add capability parsing to analyze-migration.py
migration: Fix analyze-migration.py when ignore-shared is used
migration: Fix analyze-migration read operation signedness tests/qtest/migration: Add a test for the analyze-migration script
Nikolay Borisov (1):
migration: Add the configuration vmstate to the json writer
migration/migration.c | 1 + migration/savevm.c | 20 ++++++++--- scripts/analyze-migration.py | 67 ++++++++++++++++++++++++++++++++---- tests/qtest/meson.build | 2 ++ tests/qtest/migration-test.c | 60 ++++++++++++++++++++++++++++++++ 5 files changed, 139 insertions(+), 11 deletions(-)
Signature · 1 line
2.35.3