From: dverma <dverma@redhat.com>
To: qemu-devel@nongnu.org
Cc: jen@redhat.com, dgilbert@redhat.com, quintela@redhat.com,
dverma <dverma@redhat.com>
Subject: [Qemu-devel] [PATCH 2/3] Update the existing whitelist
Date: Mon, 7 Aug 2017 15:40:05 -0400 [thread overview]
Message-ID: <1502134806-13669-3-git-send-email-dverma@redhat.com> (raw)
In-Reply-To: <1502134806-13669-1-git-send-email-dverma@redhat.com>
Appended newer fields and introduced new names in the whitelist
Signed-off-by: Deepak Verma <dverma@redhat.com>
---
scripts/vmstate-static-checker.py | 22 ++++++++++++++++++++--
1 file changed, 20 insertions(+), 2 deletions(-)
diff --git a/scripts/vmstate-static-checker.py b/scripts/vmstate-static-checker.py
index b416b66..ae41e44 100755
--- a/scripts/vmstate-static-checker.py
+++ b/scripts/vmstate-static-checker.py
@@ -49,7 +49,6 @@ def check_fields_match(name, s_field, d_field):
# is used to whitelist such changes in each section / description.
changed_names = {
'apic': ['timer', 'timer_expiry'],
- 'e1000': ['dev', 'parent_obj'],
'ehci': ['dev', 'pcidev'],
'I440FX': ['dev', 'parent_obj'],
'ich9_ahci': ['card', 'parent_obj'],
@@ -73,7 +72,6 @@ def check_fields_match(name, s_field, d_field):
'tmr.timer', 'ar.tmr.timer',
'tmr.overflow_time', 'ar.tmr.overflow_time',
'gpe', 'ar.gpe'],
- 'rtl8139': ['dev', 'parent_obj'],
'qxl': ['num_surfaces', 'ssd.num_surfaces'],
'usb-ccid': ['abProtocolDataStructure', 'abProtocolDataStructure.data'],
'usb-host': ['dev', 'parent_obj'],
@@ -96,6 +94,26 @@ def check_fields_match(name, s_field, d_field):
'mem_win_size', 'mig_mem_win_size',
'io_win_addr', 'mig_io_win_addr',
'io_win_size', 'mig_io_win_size'],
+ 'rtl8139': ['dev', 'parent_obj'],
+ 'e1000e': ['PCIDevice', 'PCIEDevice', 'intr_state', 'redhat_7_3_intr_state'],
+ 'nec-usb-xhci': ['PCIDevice', 'PCIEDevice'],
+ 'xhci-intr': ['er_full_unused', 'er_full'],
+ 'e1000': ['dev', 'parent_obj',
+ 'tx.ipcss', 'tx.props.ipcss',
+ 'tx.ipcso', 'tx.props.ipcso',
+ 'tx.ipcse', 'tx.props.ipcse',
+ 'tx.tucss', 'tx.props.tucss',
+ 'tx.tucso', 'tx.props.tucso',
+ 'tx.tucse', 'tx.props.tucse',
+ 'tx.paylen', 'tx.props.paylen',
+ 'tx.hdr_len', 'tx.props.hdr_len',
+ 'tx.mss', 'tx.props.mss',
+ 'tx.sum_needed', 'tx.props.sum_needed',
+ 'tx.ip', 'tx.props.ip',
+ 'tx.tcp', 'tx.props.tcp',
+ 'tx.ipcss', 'tx.props.ipcss',
+ 'tx.ipcss', 'tx.props.ipcss',
+ ]
}
if name not in changed_names:
--
1.8.3.1
next prev parent reply other threads:[~2017-08-07 19:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-07 19:40 [Qemu-devel] [PATCH 0/3] Vmstate-static-checker.py fix upstream dverma
2017-08-07 19:40 ` [Qemu-devel] [PATCH 1/3] Fix format and styles; make code more pythonic dverma
2017-08-07 19:40 ` dverma [this message]
2017-08-07 19:40 ` [Qemu-devel] [PATCH 3/3] Add new functions for whitelisting and their calls dverma
2017-08-08 23:56 ` [Qemu-devel] [PATCH 0/3] Vmstate-static-checker.py fix upstream no-reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502134806-13669-3-git-send-email-dverma@redhat.com \
--to=dverma@redhat.com \
--cc=dgilbert@redhat.com \
--cc=jen@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=quintela@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).