mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-05 12:51:12 +00:00
fb0597574d
All Xen domains have a xenbus device. Implicitly add one if not already explicitly specified in the domain config. Signed-off-by: Jim Fehlig <jfehlig@suse.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
61 lines
1.8 KiB
XML
61 lines
1.8 KiB
XML
<domain type='xen' id='1'>
|
|
<name>fvtest</name>
|
|
<uuid>b5d70dd2-75cd-aca5-1776-9660b059d8ff</uuid>
|
|
<memory unit='KiB'>409600</memory>
|
|
<currentMemory unit='KiB'>409600</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type>hvm</type>
|
|
<loader type='rom'>/usr/lib/xen/boot/hvmloader</loader>
|
|
<boot dev='hd'/>
|
|
</os>
|
|
<features>
|
|
<acpi/>
|
|
</features>
|
|
<clock offset='variable' adjustment='0' basis='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<emulator>/usr/lib/xen/bin/qemu-system-i386</emulator>
|
|
<disk type='file' device='disk'>
|
|
<driver name='file' type='raw'/>
|
|
<source file='/root/foo.img'/>
|
|
<target dev='hda' bus='ide'/>
|
|
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
|
|
</disk>
|
|
<disk type='file' device='cdrom'>
|
|
<driver name='file' type='raw'/>
|
|
<source file='/root/boot.iso'/>
|
|
<target dev='hdc' bus='ide'/>
|
|
<readonly/>
|
|
<address type='drive' controller='0' bus='1' target='0' unit='0'/>
|
|
</disk>
|
|
<controller type='xenbus' index='0'/>
|
|
<controller type='ide' index='0'/>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:1b:b1:47'/>
|
|
<source bridge='xenbr0'/>
|
|
<script path='vif-bridge'/>
|
|
<target dev='vif1.0'/>
|
|
</interface>
|
|
<serial type='dev'>
|
|
<source path='/dev/ttyS1'/>
|
|
<target port='1'/>
|
|
</serial>
|
|
<console type='dev'>
|
|
<source path='/dev/ttyS1'/>
|
|
<target type='serial' port='1'/>
|
|
</console>
|
|
<input type='mouse' bus='ps2'/>
|
|
<input type='keyboard' bus='ps2'/>
|
|
<graphics type='vnc' port='-1' autoport='yes'>
|
|
<listen type='address'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='cirrus' vram='8192' heads='1' primary='yes'/>
|
|
</video>
|
|
<memballoon model='xen'/>
|
|
</devices>
|
|
</domain>
|