qemu-arm64: refactor 'console=hvc0,hvc1' for kata-agent debugging

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>
This commit is contained in:
Penny Zheng 2018-12-17 10:59:06 +08:00
parent bcf995bfe1
commit c8c564bdd6

View File

@ -33,7 +33,8 @@ var qemuPaths = map[string]string{
}
var kernelParams = []Param{
{"console", "ttyAMA0"},
{"console", "hvc0"},
{"console", "hvc1"},
{"iommu.passthrough", "0"},
}