]> Git Repo - qemu.git/commit
vmstate static checker: detect section renames
authorAmit Shah <[email protected]>
Fri, 11 Jul 2014 12:40:45 +0000 (18:10 +0530)
committerAmit Shah <[email protected]>
Wed, 16 Jul 2014 08:59:34 +0000 (14:29 +0530)
commit79fe16c0489ca658f53796206067a551fc915ba2
tree31c17694512992802c906b490ad5ebf745848112
parent5a7348045091a2bc15d85bb177e5956aa6114e5a
vmstate static checker: detect section renames

Commit 292b1634 changed the section name of "ICH9 LPC" to "ICH9-LPC",
and that causes the static checker to flag this:

Section "ICH9 LPC" does not exist in dest

This patch introduces a function that checks for section renames and
also a dictionary that maps those renames.

Reported-by: "Dr. David Alan Gilbert" <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
---
This is a small patch to a script; doesn't break qemu and helps with the
static checker, so it's a very low-risk patch for 2.1.
scripts/vmstate-static-checker.py
This page took 0.026845 seconds and 4 git commands to generate.