[libvirt] [PATCH v2 0/6] Console coruption with two or more clients series

Daniel P. Berrange berrange at redhat.com
Tue Jan 17 21:47:52 UTC 2012


On Wed, Dec 07, 2011 at 07:08:00PM +0100, Peter Krempa wrote:
> This series fixes anoying console corruption if two clients try to connect
> at same time to the console. The current state of this is, that two/more
> of threads compete for the data from the PTY. This causes that each of the
> consoles get scrambled and unusable.
> 
> These patches add mutual exclusion for opening consoles with two different
> approaches and a option to terminate existing console streams.
> 
> A sample implementation is done using qemu driver, but i'll add more of them
> if this will be OK. (They're basicaly the same as in qemu).
> 
> For convinience, to review these patches:
> 
> git checkout -b console_corruption 8d16201fe0e63afb5416a8eb7c6478f582ccccc0
> git pull git://aeon.pipo.sk/libvirt.git console_dup

What is the status of these patches ? Do you have any v3 pending ?

In the libvirt-sandbox project, we're finding that we need this
console protection you've done, to stop virt-manager intefering
with the sandboxes

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




More information about the libvir-list mailing list