***
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
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 -
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
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
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 -
- 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
***
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
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
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
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
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
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
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
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
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
***
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
16 matches
Mail list logo