]> Git Repo - qemu.git/commitdiff
vmstate-static-checker: update whitelist
authorAmit Shah <[email protected]>
Wed, 21 Jan 2015 13:05:33 +0000 (18:35 +0530)
committerJuan Quintela <[email protected]>
Thu, 5 Feb 2015 16:16:14 +0000 (17:16 +0100)
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 <[email protected]>
Reviewed-by: Gerd Hoffmann <[email protected]>
Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Juan Quintela <[email protected]>
scripts/vmstate-static-checker.py

index f7ce3fc483cb12ec3a6f5ece74db75edac1dbd27..b6c0bbead9e778b91b50846c97acc86f5d6c2348 100755 (executable)
@@ -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'],
This page took 0.022479 seconds and 4 git commands to generate.