mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
435c7181f1
And move the path to not be rooted in /dev, which doesn't make sense for a directory pool, and triggers some special /dev handling in virtinst that we don't want in the common testing path. Signed-off-by: Cole Robinson <crobinso@redhat.com>
90 lines
2.6 KiB
XML
90 lines
2.6 KiB
XML
<domain type="test">
|
|
<name>test-clone-simple</name>
|
|
<uuid>12345678-1234-ffff-1234-12345678ffff</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="network"/>
|
|
<boot dev="hd"/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
<apic/>
|
|
</features>
|
|
<clock offset="utc"/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</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="/pool-dir/test-clone-simple.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="22:11:11:11:11:11"/>
|
|
<target dev="testnet0"/>
|
|
</interface>
|
|
<parallel type="file">
|
|
<source path="/tmp/foo.log"/>
|
|
<target port="0"/>
|
|
</parallel>
|
|
<graphics type="vnc" port="5912" autoport="no">
|
|
<listen type="address"/>
|
|
</graphics>
|
|
<video>
|
|
<model type="cirrus" vram="16384" heads="1" primary="yes"/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|
|
<domain type="test">
|
|
<name>test-clone-simple</name>
|
|
<uuid>12345678-1234-ffff-1234-12345678ffff</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="/pool-dir/test-clone-simple.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="22:11:11:11:11:11"/>
|
|
<target dev="testnet0"/>
|
|
</interface>
|
|
<parallel type="file">
|
|
<source path="/tmp/foo.log"/>
|
|
<target port="0"/>
|
|
</parallel>
|
|
<graphics type="vnc" port="5912" autoport="no">
|
|
<listen type="address"/>
|
|
</graphics>
|
|
<video>
|
|
<model type="cirrus" vram="16384" heads="1" primary="yes"/>
|
|
</video>
|
|
</devices>
|
|
</domain>
|