virt-manager/tests/xmlparse-xml/change-hostdevs-in.xml

48 lines
1.3 KiB
XML

<domain type="xen">
<name>TestGuest</name>
<currentMemory>204800</currentMemory>
<memory>409600</memory>
<uuid>12345678-1234-1234-1234-123456789012</uuid>
<os>
<type arch="i686">hvm</type>
<loader>/usr/lib/xen/boot/hvmloader</loader>
<boot dev="network"/>
</os>
<features>
<acpi/><apic/>
</features>
<clock offset="utc"/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<vcpu>5</vcpu>
<devices>
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
<input type="mouse" bus="ps2"/>
<graphics type="vnc" display=":3.4" xauth="/tmp/.Xauthority"/>
<console type="pty"/>
<hostdev mode="subsystem" type="usb" managed="yes">
<source>
<vendor id="0x4321"/>
<product id="0x1234"/>
</source>
</hostdev>
<hostdev mode="capabilities" type="usb" managed="no">
<source>
<address bus="0x12" device="0x34"/>
</source>
</hostdev>
<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0x0" bus="0x1" slot="0x2" function="0x3"/>
</source>
</hostdev>
<hostdev mode="subsystem" type="scsi" managed="no">
<source>
<adapter name="scsi_host0"/>
<address bus="0" target="0" unit="0"/>
</source>
</hostdev>
</devices>
</domain>