Re: [PATCH] Introduce virFDStreamOpenPTY

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

 



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


Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]