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

[virt-tools-list] [PATCH virt-viewer 0/2] virt-viewer: Allow to connect to SPICE using unix socket



Hello,

It turns out that currently it is possible to use a socket to connect only for vnc.
It is due to 2 issues
  - virt-viewer does not work with recent listen element
  - spice needs to open more than 1 channel

The bug is simply reproducible by setting the graphics node to:

    <graphics type='spice'>
      <listen type='socket' socket='/tmp/spice.sock'/>
    </graphics>

Change the graphics type to vnc and virt-viewer connects without issues.

Pavel Grunt (2):
  virt-viewer: Support newer libvirt xml format
  app: Allow to connect to channel using unix socket

 src/virt-viewer-app.c | 29 +++++++++++++++++++++++------
 src/virt-viewer.c     | 14 ++++++++++++--
 2 files changed, 35 insertions(+), 8 deletions(-)

-- 
2.12.2


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