virtinst: set vmport off by default when has_spice()
Spice is better off without vmport enabled, to be able to switch between absolute and relative mouse mode easily. Message-Id: <1428012248-5767-5-git-send-email-marcandre.lureau@gmail.com>
This commit is contained in:
parent
ede876e792
commit
ddfca74e54
|
@ -838,6 +838,11 @@ class Guest(XMLBuilder):
|
|||
if self.features.pae == "default":
|
||||
self.features.pae = self.conn.caps.supports_pae()
|
||||
|
||||
if (self.features.vmport == "default" and
|
||||
self.has_spice() and
|
||||
self.conn.check_support(self.conn.SUPPORT_CONN_VMPORT)):
|
||||
self.features.vmport = False
|
||||
|
||||
if (self._os_object.is_windows() and
|
||||
self._hv_supported() and
|
||||
self.conn.check_support(self.conn.SUPPORT_CONN_HYPERV_VAPIC)):
|
||||
|
|
Loading…
Reference in New Issue