mirror of https://gitee.com/openkylin/libvirt.git
25 lines
708 B
XML
25 lines
708 B
XML
<domain type='xen' id='5'>
|
|
<name>rhel5</name>
|
|
<uuid>4f77abd2301958e83bab6fbf2118f880</uuid>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<memory>394240</memory>
|
|
<currentMemory>179200</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<interface type='bridge'>
|
|
<source bridge='xenbr0'/>
|
|
<mac address='00:16:3e:1d:06:15'/>
|
|
<script path='vif-bridge'/>
|
|
</interface>
|
|
<disk type='file' device='disk'>
|
|
<driver name='tap' type='aio'/>
|
|
<source file='/xen/rhel5.img'/>
|
|
<target dev='xvda:disk'/>
|
|
</disk>
|
|
<graphics type='vnc' port='5905'/>
|
|
</devices>
|
|
</domain>
|