mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-02 19:31:18 +00:00
6b24755235
All <console> devices now export a <target> type attribute. QEMU defaults to 'serial', UML defaults to 'uml, xen can be either 'serial' or 'xen' depending on fullvirt. Understandably there is lots of test fallout. This will be used to differentiate between a serial vs. virtio console for QEMU. Signed-off-by: Cole Robinson <crobinso@redhat.com>
33 lines
882 B
XML
33 lines
882 B
XML
<domain type='xen' id='6'>
|
|
<name>pvtest</name>
|
|
<uuid>49a0c6ff-c066-5392-6498-3632d093c2e7</uuid>
|
|
<memory>524288</memory>
|
|
<currentMemory>393216</currentMemory>
|
|
<vcpu>1</vcpu>
|
|
<bootloader>/usr/bin/pygrub</bootloader>
|
|
<os>
|
|
<type>linux</type>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<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='aio'/>
|
|
<source file='/var/lib/xen/images/rhel5pv.img'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
<shareable/>
|
|
</disk>
|
|
<interface type='bridge'>
|
|
<mac address='00:16:3e:23:9e:eb'/>
|
|
<source bridge='xenbr0'/>
|
|
<script path='vif-bridge'/>
|
|
<target dev='vif6.0'/>
|
|
</interface>
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
</devices>
|
|
</domain>
|