mirror of https://gitee.com/openkylin/libvirt.git
30 lines
899 B
XML
30 lines
899 B
XML
<domain type='xen' id='15'>
|
|
<name>pvtest</name>
|
|
<uuid>596a5d2171f48fb2e068e2386a5c413e</uuid>
|
|
<os>
|
|
<type>linux</type>
|
|
<kernel>/var/lib/xen/vmlinuz.2Dn2YT</kernel>
|
|
<initrd>/var/lib/xen/initrd.img.0u-Vhq</initrd>
|
|
<cmdline> method=http://download.fedora.devel.redhat.com/pub/fedora/linux/core/test/5.91/x86_64/os </cmdline>
|
|
</os>
|
|
<memory unit='KiB'>430080</memory>
|
|
<vcpu>2</vcpu>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<source file='/root/some.img'/>
|
|
<target dev='xvda'/>
|
|
</disk>
|
|
<interface type="bridge">
|
|
<mac address="00:11:22:33:44:55"/>
|
|
<source bridge="xenbr2"/>
|
|
<script path="vif-bridge"/>
|
|
<model type='e1000'/>
|
|
<target dev="vif4.0"/>
|
|
</interface>
|
|
<console tty='/dev/pts/4'/>
|
|
</devices>
|
|
</domain>
|