mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-24 15:26:36 -06:00
8d59a7132b
The patches to drop /dev/loop0 meant get_blkdisk was inaccurate and we weren't testing many things that were intended. Use a block disk from the test driver.
25 lines
680 B
XML
25 lines
680 B
XML
<domain type="xen">
|
|
<name>TestGuest</name>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<memory>409600</memory>
|
|
<currentMemory>204800</currentMemory>
|
|
<vcpu>5</vcpu>
|
|
<os>
|
|
<type arch="i686">linux</type>
|
|
<kernel>/boot/vmlinuz</kernel>
|
|
<initrd>/boot/initrd</initrd>
|
|
</os>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type="block" device="disk">
|
|
<driver name="phy"/>
|
|
<source dev="/dev/disk-pool/diskvol1"/>
|
|
<target dev="xvda" bus="xen"/>
|
|
</disk>
|
|
<input type="mouse" bus="xen"/>
|
|
<graphics type="vnc" port="-1" keymap="ja"/>
|
|
</devices>
|
|
</domain>
|