mirror of https://gitee.com/openkylin/libvirt.git
29 lines
836 B
XML
29 lines
836 B
XML
|
<domain type='xen'>
|
||
|
<name>test-pv</name>
|
||
|
<uuid>039e9ee6-4a84-3055-4c81-8ba426ae2656</uuid>
|
||
|
<memory>524288</memory>
|
||
|
<currentMemory>524288</currentMemory>
|
||
|
<vcpu>4</vcpu>
|
||
|
<bootloader>pygrub</bootloader>
|
||
|
<os>
|
||
|
<type arch='x86_64' machine='xenpv'>linux</type>
|
||
|
</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>
|
||
|
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
|
||
|
</devices>
|
||
|
</domain>
|