[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] vshRunConsole:77 : unable to open tty



Hi all,

I'm unable to open a serial console to a kvm virtual machine with virsh console:

[root phy003 ~]# virsh console f12
Connected to domain f12
Escape character is ^]
20:43:48.282: error : vshRunConsole:77 : unable to open tty /dev/pts/ 1 : No such file or directory

If you look carefully to the message above, there's a space after /dev/ pts/1

I can also see this in the xml:

[root phy003 ~]# virsh dumpxml f12 > f12.xml


    <console type='pty' tty='/dev/pts/1^M'>
      <source path='/dev/pts/1^M'/>
      <target port='0'/>
    </console>
    <console type='pty' tty='/dev/pts/1^M'>
      <source path='/dev/pts/1^M'/>
      <target port='0'/>
    </console>

I've run gdb over virsh, and this is what virDomainGetXMLDesc returns:
<console type='pty' tty='/dev/pts/1\r'>

I'm not sure if this has already been fixed, this is libvirt-0.7.5-3.fc12.x86_64 from the rawhide preview repo on F12, with qemu-kvm-0.12.2-4.fc12.x86_64

Any help would be appreciated.

Ruben Kerkhof


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]