summaryrefslogtreecommitdiffstats
path: root/src/virt-viewer-file.c
diff options
context:
space:
mode:
authorJán Tomko <jtomko@redhat.com>2014-10-01 15:36:04 +0200
committerFabiano Fidêncio <fidencio@redhat.com>2014-10-01 18:58:13 +0200
commitbb44ce0a1faaf7c7dbff2ca520b7ab83bda5b6ea (patch)
tree4ae2f103fa330c570878357d42a46f406c7d606a /src/virt-viewer-file.c
parentec5a66146924c5b5dcfc6ea7e4eaa8857165981d (diff)
downloadvirt-viewer-bb44ce0a1faaf7c7dbff2ca520b7ab83bda5b6ea.tar.gz
virt-viewer-bb44ce0a1faaf7c7dbff2ca520b7ab83bda5b6ea.tar.xz
virt-viewer-bb44ce0a1faaf7c7dbff2ca520b7ab83bda5b6ea.zip
Prefer virDomainOpenGraphicsFD for --attach
The virDomainOpenGraphics API cannot label the socket we pass to it. Prefer virDomainOpenGraphicsFD (if building with libvirt 1.2.8 or later) which creates the socket for us and works with SELinux too. Fall back to the old API if the new one is unsupported (i.e. the libvirtd on the host is older than the libvirt version virt-viewer was compiled against). Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1141228 Signed-off-by: Ján Tomko <jtomko@redhat.com>
Diffstat (limited to 'src/virt-viewer-file.c')
0 files changed, 0 insertions, 0 deletions