Daniel P. Berrange 809d9f22a0 virt-viewer: ensure we close when seeing domain stop event
Normally virt-viewer relies on the VNC/SPICE widget seeing
an EOF on its underlying connection to detect when the
session is closed.

When tunnelling to a remote guest over SSH though, this
EOF can be delayed for a very long time, leaving a dead
session open.

This can be seen with

   virt-viewer -c qemu+ssh://remotehost/system guestname

when on the remote shell run

   virsh destroy guestname

and notice that virt-viewer does not see the shutdown
immediately.

When we get a domain stopped event we know the session
should be dead, so forceably close it, if not already
closed.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
(cherry picked from commit a62827d28c6b69e90102e4c1c8043cbddad8929a)
2016-07-12 13:54:44 +01:00
2015-12-01 16:46:07 +01:00
2015-12-01 16:46:07 +01:00
2014-11-24 14:14:14 +01:00
2015-11-04 12:17:16 -02:00
2015-12-17 14:17:55 +00:00
2012-03-01 16:20:25 +01:00
2013-02-13 15:20:11 +00:00
2015-11-05 14:24:23 +00:00
2013-03-13 11:47:42 +00:00
2015-12-17 14:19:06 +00:00
2007-08-15 20:22:40 -04:00
2015-12-17 14:19:06 +00:00

  Virt Viewer
  ===========

Virt Viewer provides a graphical viewer for the guest OS
display. At this time is supports guest OS using the VNC
or SPICE protocols. Further protocols may be supported in
the future as user demand dicatates. The viewer can connect
directly to both local and remotely hosted guest OS, optionally
using SSL/TLS encryption.

Virt Viewer can be built with either GTK2 or GTK3, with the
default option currently being GTK2. The choice can be made
with:

   ./configure --with-gtk=3.0  (or =2.0)

Virt Viewer uses the GTK-VNC (>= 0.4.3) widget to provide a
display of the VNC protocol, which is available from

  http://gtk-vnc.sourceforge.net/

Virt Viewer uses the SPICE-GTK (>= 0.30) widget to provide a
display of the SPICE protocol, which is available from:

  http://spice-space.org/page/Spice-Gtk

Use of either SPICE-GTK or GTK-VNC can be disabled at time
of configure, with --without-gtk-vnc or --without-spice-gtk
respectively.

Virt Viewer uses libvirt to lookup information about the
guest OS display. This is available from

  http://libvirt.org/

Further information about the Virt Viewer application can be
found on the Virt Manager website:

  http://virt-manager.org/

Feedback should be directed to the mailing list at

  http://virt-manager.org/mailinglist.html

-- End
Description
The virtual machine console viewer application code
Readme 4.9 MiB
Languages
C 84.3%
Makefile 4.3%
Shell 3.8%
Meson 3.5%
Dockerfile 3.5%
Other 0.6%