diff options
author | Amit Shah <amit.shah@redhat.com> | 2015-01-21 18:35:33 +0530 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-02-05 17:16:14 +0100 |
commit | 027f15696d145803fbafbfcce691444fbf0488fc (patch) | |
tree | 166eb5163599f6da9d1a89c77b044e7166e01560 /scripts | |
parent | cd07b19307bd185dccfd39052ac66d2730b32857 (diff) | |
download | qemu-027f15696d145803fbafbfcce691444fbf0488fc.tar.gz qemu-027f15696d145803fbafbfcce691444fbf0488fc.tar.bz2 qemu-027f15696d145803fbafbfcce691444fbf0488fc.zip |
vmstate-static-checker: update whitelist
Commit 22382bb96c8bd88370c1ff0cb28c3ee6bee79ed3 renamed the
'hw_cursor_x' and 'hw_cursor_y' fields in cirrus_vga. Update the static
checker's whitelist to allow matching against the old and new names.
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vmstate-static-checker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py index f7ce3fc483..b6c0bbead9 100755 --- a/scripts/vmstate-static-checker.py +++ b/scripts/vmstate-static-checker.py @@ -53,6 +53,8 @@ def check_fields_match(name, s_field, d_field): 'parent_obj.parent_obj.parent_obj', 'port.br.dev.exp.aer_log', 'parent_obj.parent_obj.parent_obj.exp.aer_log'], + 'cirrus_vga': ['hw_cursor_x', 'vga.hw_cursor_x', + 'hw_cursor_y', 'vga.hw_cursor_y'], 'lsiscsi': ['dev', 'parent_obj'], 'mch': ['d', 'parent_obj'], 'pci_bridge': ['bridge.dev', 'parent_obj', 'bridge.dev.shpc', 'shpc'], |