'jailhouse-cell-linux --write-params' will output sth. like "b'kernel=0xe8002000 dtb=0xe8000000'" without the .decode() on ARM. This additional .decode() won't hurt Python 2 and removes the surrounding b'' when running the tool under Python 3.
Signed-off-by: Ralf Ramsauer <[email protected]> --- tools/jailhouse-cell-linux | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/jailhouse-cell-linux b/tools/jailhouse-cell-linux index 790f474a73..1643a7312d 100755 --- a/tools/jailhouse-cell-linux +++ b/tools/jailhouse-cell-linux @@ -385,7 +385,7 @@ Modified device tree written. Start Linux with the following commands \ \n\ jailhouse cell create %s\n\ jailhouse cell load %s linux-loader.bin -s "%s" -a 0x%x %s -a 0x%x ' % - (args.config.name, config.name, self.params, + (args.config.name, config.name, self.params.decode(), self.params_address(), args.kernel.name, self._kernel_addr), end='') if args.initrd: -- 2.11.0 -- 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]. For more options, visit https://groups.google.com/d/optout.
