Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: c313108807d415ea594f69ad673a57359c927b35
https://github.com/siemens/jailhouse/commit/c313108807d415ea594f69ad673a57359c927b35
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
Log Message:
-----------
pyjailhouse: config_parser: store binary format specification in struct.Struct
Improves its handling in the code and slightly increases the overall
performance as well.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: c2f3065768bd7fdb40cd95539ede1895c238f553
https://github.com/siemens/jailhouse/commit/c2f3065768bd7fdb40cd95539ede1895c238f553
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
M tools/jailhouse-config-check
Log Message:
-----------
pyjailhouse: config_parser: move parsing into class methods
... and use constructor for initialization only. This separation
provides clarity on how to instantiate config components.
This commit also serves as preparation for following one.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 8905d5e91ea047b80861e33e3d5b038652edff25
https://github.com/siemens/jailhouse/commit/8905d5e91ea047b80861e33e3d5b038652edff25
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
Log Message:
-----------
pyjailhouse: config_parser: consolidate binary parsing into CStruct class
The class slots define component fields in a more grounded way.
This greatly simplifies definition of parseable compoments.
The first `__slots__` tuple in each class defines a constant list of
fields and also the corresponding binary ones in the C struct.
`_BIN_FIELD_NUM` ensures that subsequent slot additions are ignored by
CStruct as they must be constructed by the owning class itself.
For complex parsing the class method `parse` needs to be overridden,
see `CellConfig`.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 1cfb4662c9b681d5cbb242541dca045f548f412e
https://github.com/siemens/jailhouse/commit/1cfb4662c9b681d5cbb242541dca045f548f412e
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
M tools/jailhouse-config-check
Log Message:
-----------
pyjailhouse: config_parser: use I/O stream instead slice of bytes
This enables more flexibility in input types as long as they provide
binary I/O capabilities.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: 61ff21fc69999f0e58e3222905c46e4716c9b202
https://github.com/siemens/jailhouse/commit/61ff21fc69999f0e58e3222905c46e4716c9b202
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
Log Message:
-----------
pyjailhouse: config_parser: parse pin_bitman in Irqchip as list
Just like the array of 4 in the C struct.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Commit: f02a43a5fb3c870c80606ced065502211290acab
https://github.com/siemens/jailhouse/commit/f02a43a5fb3c870c80606ced065502211290acab
Author: Andrej Utz <[email protected]>
Date: 2020-08-15 (Sat, 15 Aug 2020)
Changed paths:
M pyjailhouse/config_parser.py
M tools/jailhouse-config-check
Log Message:
-----------
pyjailhouse: config_parser: consolidate header parsing
This also enables probing for a configuration type.
Signed-off-by: Andrej Utz <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Compare:
https://github.com/siemens/jailhouse/compare/42b1f5a55e4e...f02a43a5fb3c
--
You received this message because you are subscribed to the Google Groups
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jailhouse-dev/siemens/jailhouse/push/refs/heads/next/42b1f5-f02a43%40github.com.