From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJPEH-0004z3-BY for qemu-devel@nongnu.org; Thu, 05 Feb 2015 11:24:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YJPEG-0001D1-Ha for qemu-devel@nongnu.org; Thu, 05 Feb 2015 11:24:33 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YJPEG-0001Cn-Au for qemu-devel@nongnu.org; Thu, 05 Feb 2015 11:24:32 -0500 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t15GOUM4009941 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Thu, 5 Feb 2015 11:24:31 -0500 From: Juan Quintela Date: Thu, 5 Feb 2015 17:24:18 +0100 Message-Id: <1423153467-13804-2-git-send-email-quintela@redhat.com> In-Reply-To: <1423153467-13804-1-git-send-email-quintela@redhat.com> References: <1423153467-13804-1-git-send-email-quintela@redhat.com> Subject: [Qemu-devel] [PULL 01/10] vmstate-static-checker: update whitelist List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah From: Amit Shah 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 Reviewed-by: Gerd Hoffmann Signed-off-by: Amit Shah Signed-off-by: Juan Quintela --- 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