qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Test vmstate with scripts/vmstate-static-checker.py
@ 2025-04-29 15:21 Thomas Huth
  2025-04-29 15:21 ` [PATCH 1/4] tests/vmstate-static-checker-data: Remove old dump files Thomas Huth
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Thomas Huth @ 2025-04-29 15:21 UTC (permalink / raw)
  To: qemu-devel, Fabiano Rosas; +Cc: Peter Xu, John Snow

This set of patches adds an automatic test of the vmstate via the
scripts/vmstate-static-checker.py script. For this we need some
reference files from an older version of QEMU. There are already
some files available in tests/vmstate-static-checker-data/ but
they are of no use anymore since they have been taken from machines
that have already been removed a long time ago (and thus these files
now get removed, too). I chose to use QEMU 7.2 for the reference files
instead since this is a long term support release that is still actively
being maintained, so we certainly want to make sure that we don't
break migration from that version to the latest one.

Thomas Huth (4):
  tests/vmstate-static-checker-data: Remove old dump files
  scripts/vmstate-static-checker.py: Allow new name for ghes_addr_le
    field
  tests/data/vmstate-static-checker: Add dump files from QEMU 7.2.17
  tests/functional: Test with scripts/vmstate-static-checker.py

 MAINTAINERS                                   |    3 +-
 scripts/vmstate-static-checker.py             |    1 +
 .../aarch64/virt-7.2.json                     | 2571 +++++++++++++
 .../vmstate-static-checker/m68k/virt-7.2.json | 2936 ++++++++++++++
 .../ppc64/pseries-7.2.json}                   | 1276 ++++---
 .../s390x/s390-ccw-virtio-7.2.json            |  475 +++
 .../x86_64/pc-q35-7.2.json                    | 3402 +++++++++++++++++
 tests/functional/meson.build                  |   13 +-
 tests/functional/test_vmstate.py              |   56 +
 tests/vmstate-static-checker-data/dump1.json  | 1163 ------
 10 files changed, 10143 insertions(+), 1753 deletions(-)
 create mode 100644 tests/data/vmstate-static-checker/aarch64/virt-7.2.json
 create mode 100644 tests/data/vmstate-static-checker/m68k/virt-7.2.json
 rename tests/{vmstate-static-checker-data/dump2.json => data/vmstate-static-checker/ppc64/pseries-7.2.json} (51%)
 create mode 100644 tests/data/vmstate-static-checker/s390x/s390-ccw-virtio-7.2.json
 create mode 100644 tests/data/vmstate-static-checker/x86_64/pc-q35-7.2.json
 create mode 100755 tests/functional/test_vmstate.py
 delete mode 100644 tests/vmstate-static-checker-data/dump1.json

-- 
2.49.0



^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2025-05-06 22:06 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-29 15:21 [PATCH 0/4] Test vmstate with scripts/vmstate-static-checker.py Thomas Huth
2025-04-29 15:21 ` [PATCH 1/4] tests/vmstate-static-checker-data: Remove old dump files Thomas Huth
2025-04-29 15:29   ` Philippe Mathieu-Daudé
2025-04-29 22:13   ` Peter Xu
2025-04-30 10:55     ` Thomas Huth
2025-04-29 15:21 ` [PATCH 2/4] scripts/vmstate-static-checker.py: Allow new name for ghes_addr_le field Thomas Huth
2025-04-29 22:16   ` Peter Xu
2025-04-29 15:21 ` [PATCH 3/4] tests/data/vmstate-static-checker: Add dump files from QEMU 7.2.17 Thomas Huth
2025-04-29 22:30   ` Peter Xu
2025-04-30 11:13     ` Thomas Huth
2025-04-30 15:46       ` Peter Xu
2025-04-29 15:21 ` [PATCH 4/4] tests/functional: Test with scripts/vmstate-static-checker.py Thomas Huth
2025-04-30 16:10   ` Pierrick Bouvier
2025-05-01 14:28     ` Peter Xu
2025-05-01 15:58       ` Pierrick Bouvier
2025-05-06 22:05         ` Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).