[PATCH V10 0/3] *** pio_bitmap generator ***

2016-08-17 Thread Xuguo Wang
*** V11: modify the docstrings to fit the PEP 257. *** Xuguo Wang (3): tools: Add the hierarchy of the IOPortRegion. tools: Refactor the parse ioports function. tools: Modify the template of the root cell config. tools/jailhouse-config-create | 559

[PATCH V11 3/3] tools: Modify the template of the root cell config.

2016-08-17 Thread Xuguo Wang
Since the parse_ioports function be refactored, the template of the root cell must make a modification to meet the parame- ters changes. v7: - fix the merge conflicts. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/root-cell-config.c.tmpl | 21 -

[PATCH V9 1/3] tools: Add the hierarchy of the IOPortRegion.

2016-07-23 Thread Xuguo Wang
more verbose - modify f.read() to the f.read().splitlines() to void trailing '\n' - remove pep8 warning - refactor parse_ioport_tree to non-static method - add the docstring to new introduced classes and functions Signed-off-by: Xuguo Wang <hud

[PATCH V7 2/3] tools: Refactor the parse ioports function.

2016-07-20 Thread Xuguo Wang
of parse_ioport - add the docstring to the function of parse_ioport Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jailhouse-config-create | 176 +++--- 1 file changed, 167 insertions(+), 9 deletions(-) diff --git a/tools/jailhouse-config-create b

[PATCH V7 3/3] tools: Modify the template of the root cell config.

2016-07-20 Thread Xuguo Wang
Since the parse_ioports function be refactored, the template of the root cell must make a modification to meet the parame- ters changes. v7: - fix the merge conflicts. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/root-cell-config.c.tmpl | 21 -

[PATCH V7 1/3] tools: Add the hierarchy of the IOPortRegion.

2016-07-20 Thread Xuguo Wang
- modify f.read() to the f.read().splitlines() to void trailing '\n' - remove pep8 warning - refactor parse_ioport_tree to non-static method - add the docstring to new introduced classes and functions Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jai

[PATCH V7 0/3] *** pio_bitmap generator ***

2016-07-20 Thread Xuguo Wang
*** v7: - fix merge conflicts. - remove cosmetic fixes - refactor docstrings style *** Xuguo Wang (3): tools: Add the hierarchy of the IOPortRegion. tools: Refactor the parse ioports function. tools: Modify the template of the root

[patch V6 2/3] tools: Refactor the parse ioports function.

2016-07-05 Thread Xuguo Wang
Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jailhouse-config-create | 180 +++--- 1 file changed, 171 insertions(+), 9 deletions(-) diff --git a/tools/jailhouse-config-create b/tools/jailhouse-config-create index dfe98db..925b0e5

[patch V6 3/3] tools: Modify the template of the root cell config.

2016-07-05 Thread Xuguo Wang
Since the parse_ioports function be refactored, the template of the root cell must make a modification to meet the parame- ters changes. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/root-cell-config.c.tmpl | 21 - 1 file changed, 8 insertions(+), 13 del

[patch V6 1/3] tools: Add the hierarchy of the IOPortRegion.

2016-07-05 Thread Xuguo Wang
method - add the docstring to new introduced classes and functions Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jailhouse-config-create | 421 +- 1 file changed, 374 insertions(+), 47 deletions(-) diff --git a/tools/jailhouse-config-create b

[patch V6 0/3] *** pio_bitmap ***

2016-07-05 Thread Xuguo Wang
of parse_ioport - add the docstring to the function of parse_ioport *** Xuguo Wang (3): tools: Add the hierarchy of the IOPortRegion. tools: Refactor the parse ioports function. tools: Modify the template of the root cell config. tools/jailhouse-config-create | 601

[PATCH V5 3/3] tools: Template refactor.

2016-06-30 Thread Xuguo Wang
The template is as same as the last patch. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/root-cell-config.c.tmpl | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/tools/root-cell-config.c.tmpl b/tools/root-cell-config.c.tmpl index 4

[PATCH V5 2/3] tools: Refactor the parse_ports.

2016-06-30 Thread Xuguo Wang
The function of the parse_ports has many redundant codes, and the logic is not clearly, so refactor this function and add some comments. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jailhouse-config-create | 227 -- 1 file change

[PATCH V5 1/3] tools: Amend the comments.

2016-06-30 Thread Xuguo Wang
Some comments of code are redundant, since the codes are self-explanatory, so omit them. Signed-off-by: Xuguo Wang <huddy1...@gmail.com> --- tools/jailhouse-config-create | 180 +- 1 file changed, 143 insertions(+), 37 deletions(-) diff --git a

[PATCH V5 0/3] *** pio_bitmap ***

2016-06-30 Thread Xuguo Wang
1 Please only repost updates when you are done with them, and it makes sense for the reviewer to look at them again. Otherwise, they will get frustrated and spend their time on other things. done *** Xuguo Wang (3

[V1] *** struct jailhouse_system attribute refactor ***

2016-06-23 Thread Xuguo Wang
*** In the config of the jailhouse_system, the attribute named root_cell actually is the config of the root_cell, so the root_cell_config is better, special in the cell file, like: .root_cell_config = { *** Xuguo Wang (1): struct jailhouse_system