Re: Seeking for advice on 'virsh console' problems debugging

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

 



  Daniel P. Berrange wrote:

> One further idea I just had - in QEMU code util/qemu-openpty.c we call
> cfmakeraw()/tcsetattr on the PTY slave file descriptor. On Linux at 
> least this affects both ends of the device, but I wonder if there's
> perhaps a need to call this on the master file descriptor as well as
> or instead of on the slave file descriptor ?  Or perhaps the client
> (in this case libvirtd) itself has to call cfmakeraw/tcsetattr since
> although its opening the same slave, it is a different file descriptor
> for the slave

Thanks a lot for pointing this out. Manually placing the device into a
raw mode works indeed!

Roman Bogorodskiy

Attachment: pgpAsTTf7A5gr.pgp
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]