mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-28 07:21:44 +03:00
8ebed65459
Since we only attempt to add a default USB controller for x86, match it by only trying to add redir devices on x86 as well. Fixes a uitests failure for ppc testing, since the test:/// driver doesn't add an implied USB controller, and libvirt now validates that one was provided.
39 lines
1.1 KiB
XML
39 lines
1.1 KiB
XML
<domain type="qemu">
|
|
<name>foobar</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<memory>65536</memory>
|
|
<currentMemory>65536</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<os>
|
|
<type arch="ppc64" machine="pseries">hvm</type>
|
|
<boot dev="network"/>
|
|
</os>
|
|
<clock offset="utc"/>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc64</emulator>
|
|
<disk type="file" device="disk">
|
|
<driver name="qemu" type="qcow2"/>
|
|
<source file="/dev/default-pool/testvol1.img"/>
|
|
<target dev="vda" bus="virtio"/>
|
|
</disk>
|
|
<disk type="file" device="cdrom">
|
|
<target dev="sda" bus="scsi"/>
|
|
<readonly/>
|
|
</disk>
|
|
<graphics type="spice" port="-1" tlsPort="-1" autoport="yes">
|
|
<image compression="off"/>
|
|
</graphics>
|
|
<console type="pty"/>
|
|
<channel type="unix">
|
|
<source mode="bind"/>
|
|
<target type="virtio" name="org.qemu.guest_agent.0"/>
|
|
</channel>
|
|
<channel type="spicevmc">
|
|
<target type="virtio" name="com.redhat.spice.0"/>
|
|
</channel>
|
|
<video>
|
|
<model type="vga"/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|