[Qemu-devel] [PATCH v2 3/3] Add new functions for whitelisting and their calls

2017-08-16 Thread dverma
The 'check_updated_properties' function keeps track of properties that were added/removed from fields across qemu versions. The 'check_updated_sizes' function reduces false positives generated especially while testing backward migration by keeping a list of common size/version changes. The 'check_n

[Qemu-devel] [PATCH v2 2/3] Update the existing whitelist

2017-08-16 Thread dverma
Appended newer fields and introduced new names in the whitelist Changes v1->v2: 1. Fix patchew warnings about exceeding 80 characters Signed-off-by: Deepak Verma --- scripts/vmstate-static-checker.py | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/scr

[Qemu-devel] [PATCH v2 1/3] Fix format and styles; make code more pythonic

2017-08-16 Thread dverma
- Format fixes, cleaned up the print statement - Style fixes, e.g. changed "if not x in y" to "if x not in y" - Improved variable names Changes v1->v2: 1. Fix patchew warnings about exceeding 80 characters Signed-off-by: Deepak Verma --- scripts/vmstate-static-checker.py | 111 +

[Qemu-devel] [PATCH v2 0/3] Vmstate-static-checker.py fix upstream

2017-08-16 Thread dverma
Fix patchew warnings about exceeding 80 characters dverma (3): Fix format and styles; make code more pythonic Update the existing whitelist Add new functions for whitelisting and their calls scripts/vmstate-static-checker.py | 353 -- 1 file changed,

[Qemu-devel] [PATCH 3/3] Add new functions for whitelisting and their calls

2017-08-07 Thread dverma
The 'check_updated_properties' function keeps track of properties that were added/removed from fields across qemu versions. The 'check_updated_sizes' function reduces false positives generated especially while testing backward migration by keeping a list of common size/version changes. The 'check_n

[Qemu-devel] [PATCH 1/3] Fix format and styles; make code more pythonic

2017-08-07 Thread dverma
- Format fixes, cleaned up the print statement - Style fixes, e.g. changed "if not x in y" to "if x not in y" - Improved variable names Signed-off-by: Deepak Verma --- scripts/vmstate-static-checker.py | 111 +- 1 file changed, 62 insertions(+), 49 deletions(-

[Qemu-devel] [PATCH 2/3] Update the existing whitelist

2017-08-07 Thread dverma
Appended newer fields and introduced new names in the whitelist Signed-off-by: Deepak Verma --- 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 ind

[Qemu-devel] [PATCH 0/3] Vmstate-static-checker.py fix upstream

2017-08-07 Thread dverma
. dverma (3): Fix format and styles; make code more pythonic Update the existing whitelist Add new functions for whitelisting and their calls scripts/vmstate-static-checker.py | 335 -- 1 file changed, 250 insertions(+), 85 deletions(-) -- 1.8.3.1

[Qemu-devel] [PATCH v3 3/3] Add new functions for whitelisting and their calls

2017-08-07 Thread dverma
The 'check_updated_properties' function keeps track of properties that were added/removed from fields across qemu versions. The 'check_updated_sizes' function reduces false positives generated especially while testing backward migration by keeping a list of common size/version changes. The 'check_n

[Qemu-devel] [PATCH v3 0/3] Vmstate-static-checker.py fix upstream

2017-08-07 Thread dverma
This is an update to the script vmstate-static-checker.py. The whitelist has been updated and newer functions have been added to reduce the false positives generated by the script while testing migration. The code has been cleaned and updated to follow PEP8 guidelines. dverma (3): Fix format

[Qemu-devel] [PATCH v3 2/3] Update the existing whitelist

2017-08-07 Thread dverma
Appended newer fields and introduced new names in the whitelist --- 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 ---

[Qemu-devel] [PATCH v3 1/3] Fix format and styles; make code more pythonic

2017-08-07 Thread dverma
- Format fixes, cleaned up the print statement - Style fixes, e.g. changed "if not x in y" to "if x not in y" - Improved variable names --- scripts/vmstate-static-checker.py | 111 +- 1 file changed, 62 insertions(+), 49 deletions(-) diff --git a/scripts/vmstat