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>
19 lines
596 B
XML
19 lines
596 B
XML
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
+ <disk type="file" device="disk">
|
|
+ <driver name="qemu" type="qcow2"/>
|
|
+ <source file="/pool-dir/testvol1.img"/>
|
|
+ <target dev="vda" bus="virtio"/>
|
|
+ </disk>
|
|
</devices>
|
|
+ <metadata>
|
|
+ <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
|
|
+ <libosinfo:os id="http://fedoraproject.org/fedora/28"/>
|
|
+ </libosinfo:libosinfo>
|
|
+ </metadata>
|
|
</domain>
|
|
|
|
Domain 'test' defined successfully.
|
|
Changes will take effect after the domain is fully powered off.
|