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

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

 



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

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list



[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux