Bug 4611 - [Anolis OS 23][qemu][kvm][vhd] 安装后,串口配置不能访问
Summary: [Anolis OS 23][qemu][kvm][vhd] 安装后,串口配置不能访问
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: ---> ToBeTriaged (show other bugs) ---> ToBeTriaged
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: yunmeng365524
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 16:40 UTC by wanqian
Modified: 2023-06-07 10:53 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wanqian alibaba_cloud_group 2023-03-27 16:40:42 UTC
Description of problem:

物理机信息: 机型:F52  
使用的qemu-kvm & virsh 创建 虚拟机 启动qcow2镜像后.
配置了串口访问: grubby --update-kernel=ALL --args="console=tty0 console=ttyS0,115200"
xml中配置了:
<serial type="pty">
<target port="0"/>
</serial>
<console type="pty">
<target type="serial" port="0"/>
</console>
启动参数中确定配置了:
console=tty0,console=ttyS0,115200n8

镜像链接:
https://mirrors.openanolis.cn/anolis/23/Nightly/Images/vm/20230228/

但是还是不能virsh console 访问.

Actual results:

console 不能访问

Expected results:

console正常访问

Additional info:
Comment 1 xuchunmei alibaba_cloud_group 2023-03-28 09:57:59 UTC
aarch64还是x86_64
Comment 2 wanqian alibaba_cloud_group 2023-03-28 18:18:56 UTC
(In reply to xuchunmei from comment #1)
> aarch64还是x86_64

arm和x86_64 都不行
Comment 3 yunmeng365524 2023-06-07 10:53:26 UTC
GA 版本的镜像串口验证OK。