1
  1. the pty console:
<console type='pty'>
    <target type='virtio' />
    <alias name='console1'/>
</console>
  1. no output when I exec the command virsh ttyconsole vm_name
  2. the log (/var/log/libvirt/qemu/vm_name.log) :
char device redirected to /dev/pts/2 (label charconsole1)
  1. when l exec virsh console vm_name console1 , the command is stuck. Only output:
Connected to domain vm_name
Escape character is ^] (Ctrl + ]) (i had pressed enter button)
  1. I had tried some methods(RHEL6 virsh console domain),like editing /boot/grub/menu.lst and /etc/inittab. But it can't solve the problem.

0 Answers0