mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-08 14:29:56 +00:00
fd0f22ed41
QEMU ppce500 board uses the legacy -serial option. Other PPC boards don't give any way to explicitly wire in a -chardev except pseries which uses -device spapr-vty with -chardev. Add test case for -serial option for ppce500 Signed-off-by: Olivia Yin <Hong-Hua.Yin@freescale.com> Signed-off-by: Ján Tomko <jtomko@redhat.com>
27 lines
760 B
XML
27 lines
760 B
XML
<domain type='kvm'>
|
|
<name>QEMUGuest1</name>
|
|
<memory unit='KiB'>262144</memory>
|
|
<currentMemory unit='KiB'>262144</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='ppc' machine='ppce500'>hvm</type>
|
|
<kernel>/media/ram/uImage</kernel>
|
|
<initrd>/media/ram/ramdisk</initrd>
|
|
<cmdline>root=/dev/ram rw console=ttyS0,115200</cmdline>
|
|
</os>
|
|
<clock offset='utc'/>
|
|
<on_poweroff>destroy</on_poweroff>
|
|
<on_reboot>restart</on_reboot>
|
|
<on_crash>destroy</on_crash>
|
|
<devices>
|
|
<emulator>/usr/bin/qemu-system-ppc</emulator>
|
|
<serial type='pty'>
|
|
<target port='0'/>
|
|
</serial>
|
|
<console type='pty'>
|
|
<target type='serial' port='0'/>
|
|
</console>
|
|
<memballoon model='virtio'/>
|
|
</devices>
|
|
</domain>
|