virt-manager/tests/data/xmlparse/change-hostdevs-out.xml

66 lines
1.8 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 type="usb" managed="no">
<source>
<vendor id="0x1111"/>
<product id="0x2222"/>
<address bus="1" device="2"/>
</source>
</hostdev>
<hostdev mode="subsystem" type="usb" managed="yes">
<source>
<address bus="0x56" device="0x78"/>
</source>
</hostdev>
<hostdev mode="subsystem" type="pci" managed="yes">
<source>
<address domain="0x4" bus="0x5" slot="0x6" function="0x7"/>
</source>
<driver name="vfio"/>
<rom bar="on"/>
</hostdev>
<hostdev mode="subsystem" type="scsi" managed="no">
<source>
<adapter name="foo"/>
<address bus="1" target="2" unit="3"/>
</source>
</hostdev>
<hostdev mode="capabilities" type="net" managed="yes">
<source>
<interface>eth0</interface>
</source>
</hostdev>
<hostdev mode="capabilities" type="misc" managed="yes">
<source>
<char>/dev/null</char>
</source>
</hostdev>
<hostdev mode="capabilities" type="storage" managed="yes">
<source>
<block>/dev/fd0</block>
</source>
</hostdev>
</devices>
</domain>