1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/libxlxml2domconfigdata/basic-pvh.xml
Marek Marczykowski-Górecki 45ea5688ab tests: add basic Xen PVH test
Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
2018-11-26 16:33:25 -07:00

29 lines
809 B
XML

<domain type='xen'>
<name>test-pvh</name>
<uuid>039e9ee6-4a84-3055-4c81-8ba426ae2656</uuid>
<memory>524288</memory>
<currentMemory>524288</currentMemory>
<vcpu>4</vcpu>
<os>
<type arch='x86_64' machine='xenpvh'>xenpvh</type>
<kernel>/boot/vmlinuz</kernel>
<initrd>/boot/initrd.img</initrd>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<disk type='file' device='disk'>
<driver name='qemu'/>
<source file='/var/lib/xen/images/test-pv.img'/>
<target dev='xvda'/>
</disk>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='00:16:3e:3e:86:60'/>
<script path='/etc/xen/scripts/vif-bridge'/>
</interface>
</devices>
</domain>