mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 21:01:13 +00:00
248d205171
To demonstrate the move of these attributes from -drive to -device. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com>
38 lines
1.4 KiB
XML
38 lines
1.4 KiB
XML
<domain type='qemu'>
|
|
<name>guest</name>
|
|
<uuid>1ccfd97d-5eb4-478a-bbe6-88d254c16db7</uuid>
|
|
<memory unit='KiB'>219136</memory>
|
|
<currentMemory unit='KiB'>219136</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-s390x</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='qcow2' cache='none' error_policy='stop'/>
|
|
<source file='/var/images/image1'/>
|
|
<target dev='vda' bus='virtio'/>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0000'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='qcow2' cache='none' error_policy='enospace'/>
|
|
<source file='/var/images/image2'/>
|
|
<target dev='vdb' bus='virtio'/>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0001'/>
|
|
</disk>
|
|
<disk type='file' device='disk'>
|
|
<driver name='qemu' type='qcow2' cache='none' error_policy='report' rerror_policy='ignore'/>
|
|
<source file='/var/images/image3'/>
|
|
<target dev='vdc' bus='virtio'/>
|
|
<address type='ccw' cssid='0xfe' ssid='0x0' devno='0x0002'/>
|
|
</disk>
|
|
<memballoon model='none'/>
|
|
</devices>
|
|
</domain>
|