mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 23:55:23 +00:00
a693fdba01
Express a properly terminated backing chain by putting a virStorageSource of type VIR_STORAGE_TYPE_NONE in the chain. The newly used helpers simplify this greatly. The change fixes a bug as formatting an incomplete backing chain and parsing it back would end up in expressing a terminated chain since src->backingStoreRaw was not populated. By relying on the terminator object this can be now processed appropriately.
44 lines
1.3 KiB
XML
44 lines
1.3 KiB
XML
<domain type='xen' id='5'>
|
|
<name>rhel5</name>
|
|
<uuid>4f77abd2-3019-58e8-3bab-6fbf2118f880</uuid>
|
|
<memory unit='KiB'>394240</memory>
|
|
<currentMemory unit='KiB'>179200</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<os>
|
|
<type>linux</type>
|
|
<kernel>/var/lib/xen/vmlinuz.blj7cs</kernel>
|
|
<initrd>/var/lib/xen/initrd.gULTf1</initrd>
|
|
<cmdline>ro root=/dev/VolGroup00/LogVol00 rhgb quiet</cmdline>
|
|
</os>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<driver name='tap' type='raw'/>
|
|
<source file='/xen/rhel5.img'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:1d:06:15'/>
|
|
<source bridge='xenbr0'/>
|
|
<script path='vif-bridge'/>
|
|
<target dev='vif5.0'/>
|
|
</interface>
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
<input type='mouse' bus='xen'/>
|
|
<input type='keyboard' bus='xen'/>
|
|
<graphics type='vnc' port='-1' autoport='yes'>
|
|
<listen type='address'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='xen' vram='4096' heads='1' primary='yes'/>
|
|
</video>
|
|
<memballoon model='xen'/>
|
|
</devices>
|
|
</domain>
|