[libvirt] [PATCH] Introduce virFDStreamOpenPTY

Roman Bogorodskiy bogorodskiy at gmail.com
Fri Mar 21 15:20:18 UTC 2014


  Daniel P. Berrange wrote:

> On Mon, Mar 10, 2014 at 05:10:16PM +0400, Roman Bogorodskiy wrote:
> > Add virFDStreamOpenPTY() function which is a wrapper around
> > virFDStreamOpenFileInternal() with putting the device it opens into a
> > raw mode.
> > 
> > Make virChrdevOpen() use virFDStreamOpenPTY() for
> > VIR_DOMAIN_CHR_TYPE_PTY devices.
> > 
> > This fixes mangled console output when libvirt runs on FreeBSD as it
> > requires device it opens to be placed into a raw mode explicitly.
> > ---
> >  src/conf/virchrdev.c |  2 +-
> >  src/fdstream.c       | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  src/fdstream.h       |  5 +++++
> >  3 files changed, 59 insertions(+), 1 deletion(-)
> 
> ACK

Pushed, thanks!

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/20140321/d8146e56/attachment-0001.sig>


More information about the libvir-list mailing list