vmstate-static-checker: update white list with spapr_pci
PATCH 1/1 vmstate-static-checker: update white list with spapr_pci
To fix migration between 2.7 and 2.8, some fields have been renamed and managed with the help of a PHB property (pre_2_8_migration):
5c4537b spapr: Fix 2.7<->2.8 migration of PCI host bridge
So we need to add them to the white list:
dma_liobn[0],
mem_win_addr, mem_win_size,
io_win_addr, io_win_sizebecome
mig_liobn,
mig_mem_win_addr, mig_mem_win_size,
mig_io_win_addr, mig_io_win_size
--- scripts/vmstate-static-checker.py | 5 +++++ 1 file changed, 5 insertions(+)
scripts/vmstate-static-checker.py +5 -0
@@ -85,6 +85,11 @@ def check_fields_match(name, s_field, d_field): 'xio3130-express-upstream-port': ['br.dev', 'parent_obj.parent_obj', 'br.dev.exp.aer_log', 'parent_obj.parent_obj.exp.aer_log'], + 'spapr_pci': ['dma_liobn[0]', 'mig_liobn', + 'mem_win_addr', 'mig_mem_win_addr', + 'mem_win_size', 'mig_mem_win_size', + 'io_win_addr', 'mig_io_win_addr', + 'io_win_size', 'mig_io_win_size'], } if not name in changed_names:
Signature · 1 line
2.9.3
Quoted 35 lines · Laurent Vivier
To fix migration between 2.7 and 2.8, some fields have been renamed and managed with the help of a PHB property (
pre_2_8_migration):5c4537b spapr: Fix 2.7<->2.8 migration of PCI host bridgeSo we need to add them to the white list:
dma_liobn[0], mem_win_addr, mem_win_size, io_win_addr, io_win_sizebecome
mig_liobn,
mig_mem_win_addr,mig_mem_win_size,
mig_io_win_addr,mig_io_win_sizeCC David Gibson <[email protected]>CC Dr. David Alan Gilbert <[email protected]>CC Thomas Huth <[email protected]>CC Greg Kurz <[email protected]>CC Alexey Kardashevskiy <[email protected]>Signed-off-by Laurent Vivier <[email protected]>--- scripts/vmstate-static-checker.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/vmstate-static-checker.py +0
-0@@ -85,6 +85,11 @@ def check_fields_match(name, s_field, d_field): 'xio3130-express-upstream-port': ['br.dev', 'parent_obj.parent_obj',
scripts/vmstate-static-checker.py def check_fields_match(name, s_field, d_field): · line 95
Quoted 10 lines
scripts/vmstate-static-checker.py +5
-0'br.dev.exp.aer_log', 'parent_obj.parent_obj.exp.aer_log'], + 'spapr_pci': ['dma_liobn[0]', 'mig_liobn', + 'mem_win_addr', 'mig_mem_win_addr', + 'mem_win_size', 'mig_mem_win_size', + 'io_win_addr', 'mig_io_win_addr', + 'io_win_size', 'mig_io_win_size'], } if not name in changed_names:
Quoted 34 lines · Laurent Vivier
To fix migration between 2.7 and 2.8, some fields have been renamed and managed with the help of a PHB property (
pre_2_8_migration):5c4537b spapr: Fix 2.7<->2.8 migration of PCI host bridgeSo we need to add them to the white list:
dma_liobn[0], mem_win_addr, mem_win_size, io_win_addr, io_win_sizebecome
mig_liobn,
mig_mem_win_addr,mig_mem_win_size,
mig_io_win_addr,mig_io_win_sizeCC David Gibson <[email protected]>CC Dr. David Alan Gilbert <[email protected]>CC Thomas Huth <[email protected]>CC Greg Kurz <[email protected]>CC Alexey Kardashevskiy <[email protected]>Signed-off-by Laurent Vivier <[email protected]>--- scripts/vmstate-static-checker.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/vmstate-static-checker.py +0
-0@@ -85,6 +85,11 @@ def check_fields_match(name, s_field, d_field): 'xio3130-express-upstream-port': ['br.dev', 'parent_obj.parent_obj',
scripts/vmstate-static-checker.py def check_fields_match(name, s_field, d_field): · line 95
Quoted 10 lines
scripts/vmstate-static-checker.py +5
-0'br.dev.exp.aer_log', 'parent_obj.parent_obj.exp.aer_log'], + 'spapr_pci': ['dma_liobn[0]', 'mig_liobn', + 'mem_win_addr', 'mig_mem_win_addr', + 'mem_win_size', 'mig_mem_win_size', + 'io_win_addr', 'mig_io_win_addr', + 'io_win_size', 'mig_io_win_size'], } if not name in changed_names:
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson
Ping?
Laurent
Quoted 45 lines · Laurent Vivier
To fix migration between 2.7 and 2.8, some fields have been renamed and managed with the help of a PHB property (
pre_2_8_migration):5c4537b spapr: Fix 2.7<->2.8 migration of PCI host bridgeSo we need to add them to the white list:
dma_liobn[0], mem_win_addr, mem_win_size, io_win_addr, io_win_sizebecome
mig_liobn,
mig_mem_win_addr,mig_mem_win_size,
mig_io_win_addr,mig_io_win_sizeCC David Gibson <[email protected]>CC Dr. David Alan Gilbert <[email protected]>CC Thomas Huth <[email protected]>CC Greg Kurz <[email protected]>CC Alexey Kardashevskiy <[email protected]>Signed-off-by Laurent Vivier <[email protected]>--- scripts/vmstate-static-checker.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/vmstate-static-checker.py +5
-0@@ -85,6 +85,11 @@ def check_fields_match(name, s_field, d_field): 'xio3130-express-upstream-port': ['br.dev', 'parent_obj.parent_obj', 'br.dev.exp.aer_log', 'parent_obj.parent_obj.exp.aer_log'], + 'spapr_pci': ['dma_liobn[0]', 'mig_liobn', + 'mem_win_addr', 'mig_mem_win_addr', + 'mem_win_size', 'mig_mem_win_size', + 'io_win_addr', 'mig_io_win_addr', + 'io_win_size', 'mig_io_win_size'], } if not name in changed_names:
Quoted 18 lines · * Laurent Vivier ([email protected]) wrote:
To fix migration between 2.7 and 2.8, some fields have been renamed and managed with the help of a PHB property (
pre_2_8_migration):5c4537b spapr: Fix 2.7<->2.8 migration of PCI host bridgeSo we need to add them to the white list:
dma_liobn[0], mem_win_addr, mem_win_size, io_win_addr, io_win_sizebecome
mig_liobn,
mig_mem_win_addr,mig_mem_win_size,
mig_io_win_addr,mig_io_win_size
Quoted 6 lines
CC David Gibson <[email protected]>CC Dr. David Alan Gilbert <[email protected]>CC Thomas Huth <[email protected]>CC Greg Kurz <[email protected]>CC Alexey Kardashevskiy <[email protected]>Signed-off-by Laurent Vivier <[email protected]>
Queued.
Quoted 24 lines
--- scripts/vmstate-static-checker.py | 5 +++++ 1 file changed, 5 insertions(+)scripts/vmstate-static-checker.py +5
-0@@ -85,6 +85,11 @@ def check_fields_match(name, s_field, d_field): 'xio3130-express-upstream-port': ['br.dev', 'parent_obj.parent_obj', 'br.dev.exp.aer_log', 'parent_obj.parent_obj.exp.aer_log'], + 'spapr_pci': ['dma_liobn[0]', 'mig_liobn', + 'mem_win_addr', 'mig_mem_win_addr', + 'mem_win_size', 'mig_mem_win_size', + 'io_win_addr', 'mig_io_win_addr', + 'io_win_size', 'mig_io_win_size'], } if not name in changed_names:Signature · 1 line
2.9.3
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK