mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-26 10:03:54 +03: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.
21 lines
604 B
XML
21 lines
604 B
XML
<domain type="xen">
|
|
<name>TestGuest</name>
|
|
<uuid>12345678-1234-1234-1234-123456789012</uuid>
|
|
<memory>409600</memory>
|
|
<currentMemory>204800</currentMemory>
|
|
<vcpu>5</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</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>
|