[libvirt] Seeking for advice on 'virsh console' problems debugging
Roman Bogorodskiy
bogorodskiy at gmail.com
Mon Mar 10 13:27:17 UTC 2014
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140310/8ad28862/attachment-0001.sig>
More information about the libvir-list
mailing list