mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-10 13:57:39 +03:00
Fix connecting to graphics console with listen= address
This commit is contained in:
parent
3455dccf89
commit
422c0216d8
@ -953,6 +953,12 @@ class vmmDomain(vmmLibvirtObject):
|
||||
gport = int(gport)
|
||||
gtype = gdev.type
|
||||
gaddr = "127.0.0.1"
|
||||
if gdev.listen != None:
|
||||
gaddr = gdev.listen
|
||||
connhost = gaddr
|
||||
if gport != None:
|
||||
connhost += ":"
|
||||
connhost += str(gport)
|
||||
gsocket = gdev.socket
|
||||
|
||||
if connhost == None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user