Description of problem: 物理机信息: 机型:F52 使用的qemu-kvm & virsh 创建 虚拟机 启动iso镜像后. 配置了串口访问: grubby --update-kernel=ALL --args="console=tty0 console=ttyS0,115200 console=ttyAMA0,115200n8" 但是还是不能virsh console 访问. 是需要别的配置么 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: console 不能访问 Expected results: console正常访问 Additional info:
虚拟机的xml里面配置了串口没?
(In reply to xuchunmei from comment #1) > 虚拟机的xml里面配置了串口没? 配置了 <serial type="pty"> <target port="0"/> </serial> <console type="pty"> <target type="serial" port="0"/> </console>
那么启动参数确定加上console=tty0,console=ttyS0,115200n8了? grubby更新后重启了么?
确定加上了,确定重启了. 同样的方法,在arm上没有问题.
grubby --update-kernel=ALL --args="console=tty0 console=ttyS0,115200" 串口配置: <console type="pty"> <target type="serial" port="0"/> </console> <serial type="pty"> <target port="0"/> </serial> 成功. bug不需要修复 关闭
虚拟机xml配置问题,非OS本身问题。