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>
34 lines
1012 B
XML
34 lines
1012 B
XML
<domain type='xen' id='6'>
|
|
<name>pvtest</name>
|
|
<uuid>596a5d21-71f4-8fb2-e068-e2386a5c413e</uuid>
|
|
<memory>430080</memory>
|
|
<currentMemory>430080</currentMemory>
|
|
<vcpu>2</vcpu>
|
|
<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>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>destroy</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<disk type='file' device='disk'>
|
|
<driver name='file'/>
|
|
<source file='/root/some.img'/>
|
|
<target dev='xvda' bus='xen'/>
|
|
</disk>
|
|
<interface type='ethernet'>
|
|
<mac address='00:11:22:33:44:55'/>
|
|
<ip address='172.14.5.6'/>
|
|
<script path='vif-routed'/>
|
|
<target dev='vif6.0'/>
|
|
</interface>
|
|
<console type='pty'>
|
|
<target type='xen' port='0'/>
|
|
</console>
|
|
</devices>
|
|
</domain>
|