diff options
author | Ryutaroh Matsumoto <ryutaroh@ict.e.titech.ac.jp> | 2021-01-12 02:46:08 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-16 09:11:02 +0200 |
commit | d61433def89edf698118a77f02116dd53a453d29 (patch) | |
tree | f8abbae201bd9d632903d56129fc42c3b507a744 | |
parent | 3c8c5c5a52a6a77c47a55076d1915102cbe9eded (diff) | |
download | vmdb2-d61433def89edf698118a77f02116dd53a453d29.tar.gz |
fix: PowerPC-specific serial console settings
-rw-r--r-- | ppc64el.vmdb | 2 | ||||
-rw-r--r-- | smoke-ppc64el.vmdb | 2 | ||||
-rw-r--r-- | vmdb/plugins/grub_plugin.py | 6 |
3 files changed, 7 insertions, 3 deletions
diff --git a/ppc64el.vmdb b/ppc64el.vmdb index 60f4223..5bc4cba 100644 --- a/ppc64el.vmdb +++ b/ppc64el.vmdb @@ -58,4 +58,4 @@ steps: - grub: ieee1275 tag: / prep: prep - quiet: false + console: serial diff --git a/smoke-ppc64el.vmdb b/smoke-ppc64el.vmdb index 74ce1c9..1111de5 100644 --- a/smoke-ppc64el.vmdb +++ b/smoke-ppc64el.vmdb @@ -70,4 +70,4 @@ steps: - grub: ieee1275 tag: rootfs prep: prep - quiet: false + console: serial diff --git a/vmdb/plugins/grub_plugin.py b/vmdb/plugins/grub_plugin.py index b57ce72..60b777b 100644 --- a/vmdb/plugins/grub_plugin.py +++ b/vmdb/plugins/grub_plugin.py @@ -189,7 +189,11 @@ class GrubStepRunner(vmdb.StepRunnerInterface): "rw", ] if console == "serial": - if 'arm' in state.arch: + if 'ppc64' in state.arch: + kernel_params.extend( + ["loglevel=3", "console=tty0", "console=hvc0,115200n8"] + ) + elif 'arm' in state.arch: kernel_params.extend( ["loglevel=3", "console=tty0", "console=ttyAMA0,115200n8"] ) |