domain: Use libvirt.VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH (bug 1379581)

It's what virt-viewer uses, and apparently it's needed for VNC
listen type=none

https://bugzilla.redhat.com/show_bug.cgi?id=1379581
This commit is contained in:
Cole Robinson 2017-03-02 15:08:32 -05:00
parent b484d15258
commit 0910c8dcfc

View File

@ -1132,7 +1132,8 @@ class vmmDomain(vmmLibvirtObject):
return self._backend.openConsole(devname, stream, flags)
def open_graphics_fd(self):
return self._backend.openGraphicsFD(0)
return self._backend.openGraphicsFD(0,
libvirt.VIR_DOMAIN_OPEN_GRAPHICS_SKIPAUTH)
def refresh_snapshots(self):
self._snapshot_list = None