mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
viewers: Don't try to use SSH tunnels in spice local case
Regressed with the recent tunnel cleanups
This commit is contained in:
@@ -664,9 +664,8 @@ class SpiceViewer(Viewer):
|
||||
ignore = val
|
||||
def _set_password(self, cred):
|
||||
self._spice_session.set_property("password", cred)
|
||||
if self._tunnels:
|
||||
fd = self._tunnels.open_new()
|
||||
self._spice_session.open_fd(fd)
|
||||
if self._ginfo.need_tunnel():
|
||||
self._spice_session.open_fd(self._tunnels.open_new())
|
||||
else:
|
||||
self._spice_session.connect()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user