mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-10-27 10:25:25 +03: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"/>
|
||||
<listen type="socket"/>
|
||||
</graphics>
|
||||
<graphics type="spice" autoport="no">
|
||||
<graphics type="spice">
|
||||
<gl enable="yes"/>
|
||||
<image compression="off"/>
|
||||
<listen type="none"/>
|
||||
|
@ -3,7 +3,7 @@
|
||||
</tpm>
|
||||
- <graphics type="vnc" port="-1" autoport="yes">
|
||||
- <listen type="address"/>
|
||||
+ <graphics type="vnc" autoport="no">
|
||||
+ <graphics type="vnc">
|
||||
+ <listen type="none"/>
|
||||
</graphics>
|
||||
<sound model="sb16"/>
|
||||
|
@ -3,7 +3,7 @@
|
||||
</tpm>
|
||||
- <graphics type="vnc" port="-1" autoport="yes">
|
||||
- <listen type="address"/>
|
||||
+ <graphics type="spice" autoport="no">
|
||||
+ <graphics type="spice">
|
||||
+ <gl enable="yes"/>
|
||||
+ <listen type="none"/>
|
||||
</graphics>
|
||||
|
@ -228,7 +228,7 @@ class VirtualGraphics(VirtualDevice):
|
||||
self.remove_all_listens()
|
||||
self.port = None
|
||||
self.tlsPort = None
|
||||
self.autoport = False
|
||||
self.autoport = None
|
||||
self.socket = None
|
||||
|
||||
if self.conn.check_support(
|
||||
|
Loading…
Reference in New Issue
Block a user