mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-03 20:01:16 +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>
43 lines
1.3 KiB
XML
43 lines
1.3 KiB
XML
<domain type='xen'>
|
|
<name>XenGuest1</name>
|
|
<uuid>c7a5fdb0-cdaf-9455-926a-d65c16db1809</uuid>
|
|
<memory unit='KiB'>592896</memory>
|
|
<currentMemory unit='KiB'>403456</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<os>
|
|
<type arch='x86_64' machine='xenpv'>linux</type>
|
|
</os>
|
|
<clock offset='utc' adjustment='reset'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>restart</on_crash>
|
|
<devices>
|
|
<disk type='block' device='disk'>
|
|
<driver name='phy' type='raw'/>
|
|
<source dev='/dev/HostVG/XenGuest1'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<controller type='xenbus' index='0'/>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:66:94:9c'/>
|
|
<source bridge='br0'/>
|
|
<script path='vif-bridge'/>
|
|
<target dev='net0'/>
|
|
<model type='e1000'/>
|
|
</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='127.0.0.1' passwd='123poi'>
|
|
<listen type='address' address='127.0.0.1'/>
|
|
</graphics>
|
|
<video>
|
|
<model type='xen' vram='4096' heads='1' primary='yes'/>
|
|
</video>
|
|
<memballoon model='xen'/>
|
|
</devices>
|
|
</domain>
|