qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 01/10] vmstate-static-checker: update whitelist


From: Juan Quintela
Subject: [Qemu-devel] [PULL 01/10] vmstate-static-checker: update whitelist
Date: Thu, 5 Feb 2015 17:24:18 +0100

From: Amit Shah <address@hidden>

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 <address@hidden>
Reviewed-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Amit Shah <address@hidden>
Signed-off-by: Juan Quintela <address@hidden>
---
 scripts/vmstate-static-checker.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/vmstate-static-checker.py 
b/scripts/vmstate-static-checker.py
index f7ce3fc..b6c0bbe 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'],
-- 
2.1.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]