mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
virtinst: remove unnecessary autoport when listen=none
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
a5f4b8a57f
commit
ae3cc58369
@ -241,7 +241,7 @@
|
|||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
<listen type="socket"/>
|
<listen type="socket"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<graphics type="spice" autoport="no">
|
<graphics type="spice">
|
||||||
<gl enable="yes"/>
|
<gl enable="yes"/>
|
||||||
<image compression="off"/>
|
<image compression="off"/>
|
||||||
<listen type="none"/>
|
<listen type="none"/>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
</tpm>
|
</tpm>
|
||||||
- <graphics type="vnc" port="-1" autoport="yes">
|
- <graphics type="vnc" port="-1" autoport="yes">
|
||||||
- <listen type="address"/>
|
- <listen type="address"/>
|
||||||
+ <graphics type="vnc" autoport="no">
|
+ <graphics type="vnc">
|
||||||
+ <listen type="none"/>
|
+ <listen type="none"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
<sound model="sb16"/>
|
<sound model="sb16"/>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
</tpm>
|
</tpm>
|
||||||
- <graphics type="vnc" port="-1" autoport="yes">
|
- <graphics type="vnc" port="-1" autoport="yes">
|
||||||
- <listen type="address"/>
|
- <listen type="address"/>
|
||||||
+ <graphics type="spice" autoport="no">
|
+ <graphics type="spice">
|
||||||
+ <gl enable="yes"/>
|
+ <gl enable="yes"/>
|
||||||
+ <listen type="none"/>
|
+ <listen type="none"/>
|
||||||
</graphics>
|
</graphics>
|
||||||
|
@ -228,7 +228,7 @@ class VirtualGraphics(VirtualDevice):
|
|||||||
self.remove_all_listens()
|
self.remove_all_listens()
|
||||||
self.port = None
|
self.port = None
|
||||||
self.tlsPort = None
|
self.tlsPort = None
|
||||||
self.autoport = False
|
self.autoport = None
|
||||||
self.socket = None
|
self.socket = None
|
||||||
|
|
||||||
if self.conn.check_support(
|
if self.conn.check_support(
|
||||||
|
Loading…
Reference in New Issue
Block a user