mirror of https://gitee.com/openkylin/libvirt.git
29 lines
809 B
XML
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>
|