mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-10 13:57:39 +03:00
guest: Don't add qemu-ga on ARM where virtio slots are limited
This commit is contained in:
parent
52bb0f6067
commit
f02b85d913
@ -33,9 +33,5 @@
|
|||||||
<model type="virtio"/>
|
<model type="virtio"/>
|
||||||
</interface>
|
</interface>
|
||||||
<console type="pty"/>
|
<console type="pty"/>
|
||||||
<channel type="unix">
|
|
||||||
<source mode="bind"/>
|
|
||||||
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
||||||
</channel>
|
|
||||||
</devices>
|
</devices>
|
||||||
</domain>
|
</domain>
|
||||||
|
@ -567,7 +567,9 @@ class Guest(XMLBuilder):
|
|||||||
if self.get_devices("channel"):
|
if self.get_devices("channel"):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
# Skip qemu-ga on ARM where virtio slots are currently limited
|
||||||
if (self.conn.is_qemu() and
|
if (self.conn.is_qemu() and
|
||||||
|
not self.os.is_arm() and
|
||||||
self._lookup_osdict_key("qemu_ga", False) and
|
self._lookup_osdict_key("qemu_ga", False) and
|
||||||
self.conn.check_support(self.conn.SUPPORT_CONN_AUTOSOCKET)):
|
self.conn.check_support(self.conn.SUPPORT_CONN_AUTOSOCKET)):
|
||||||
dev = virtinst.VirtualChannelDevice(self.conn)
|
dev = virtinst.VirtualChannelDevice(self.conn)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user