guest: Don't add qemu-ga on ARM where virtio slots are limited

This commit is contained in:
Cole Robinson 2014-01-12 14:58:43 -05:00
parent 52bb0f6067
commit f02b85d913
2 changed files with 2 additions and 4 deletions

View File

@ -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>

View File

@ -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)