- the pty console:
<console type='pty'>
<target type='virtio' />
<alias name='console1'/>
</console>
- no output when I exec the command
virsh ttyconsole vm_name
- the log (/var/log/libvirt/qemu/vm_name.log) :
char device redirected to /dev/pts/2 (label charconsole1)
- 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)
- 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.