Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
qemu-arm64: refactor 'console=hvc0,hvc1' for kata-agent debugging
Browse files Browse the repository at this point in the history
Since kata-agent is using virtio-console to output debugging info
and the console ports are available in the guest as /dev/hvc0 and
/dev/hvc1, we should swap origin console type 'console=ttyAMA0'
with 'console=hvc0,hvc1'.

Fixes: #1033

Signed-off-by: Penny Zheng <penny.zheng@arm.com>
Signed-off-by: Wei Chen <Wei.Chen@arm.com>
  • Loading branch information
Pennyzct committed Dec 17, 2018
1 parent bcf995b commit c8c564b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion virtcontainers/qemu_arm64.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ var qemuPaths = map[string]string{
}

var kernelParams = []Param{
{"console", "ttyAMA0"},
{"console", "hvc0"},
{"console", "hvc1"},
{"iommu.passthrough", "0"},
}

Expand Down

0 comments on commit c8c564b

Please # to comment.