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: pgpuWktsTK9Ix.pgp
Description: PGP signature

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

Reply via email to