mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
ed92e03f39
Simplifies test cases
38 lines
1.0 KiB
XML
38 lines
1.0 KiB
XML
<domain type="test">
|
|
<name>newvm</name>
|
|
<uuid>00000000-1111-2222-3333-444444444444</uuid>
|
|
<memory unit="KiB">409600</memory>
|
|
<currentMemory unit="KiB">204800</currentMemory>
|
|
<vcpu placement="static">5</vcpu>
|
|
<os>
|
|
<type arch="i686">hvm</type>
|
|
<loader type="rom">/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
</features>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-dm</emulator>
|
|
<disk type="file" device="disk">
|
|
<driver type="qcow2"/>
|
|
<source file="/dev/default-pool/newvm.img"/>
|
|
<target dev="hda" bus="ide"/>
|
|
<address type="drive" controller="0" bus="0" target="0" unit="0"/>
|
|
</disk>
|
|
<controller type="ide" index="0"/>
|
|
<interface type="user">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
</interface>
|
|
<parallel type="file">
|
|
<source path="/tmp/foo.log"/>
|
|
<target port="0"/>
|
|
</parallel>
|
|
</devices>
|
|
</domain>
|