virt-manager/tests/xmlparse-xml/change-hostdevs-in.xml
Lubomir Rintel 3a4cf07a28 virtinst: allow adding host block devices to LXC containers
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
2018-06-19 15:07:45 -04:00

63 lines
1.7 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>
<hostdev mode="capabilities" type="net" managed="yes">
<source>
<interface>wlan0</interface>
</source>
</hostdev>
<hostdev mode="capabilities" type="misc" managed="yes">
<source>
<char>/dev/net/tun</char>
</source>
</hostdev>
<hostdev mode="capabilities" type="storage" managed="yes">
<source>
<block>/dev/sdf</block>
</source>
</hostdev>
</devices>
</domain>