mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-11-10 15:30:12 +00:00
b8fe04562f
Convert the 'ppc-dtb' and 'ppce500-serial' to use real capabilities albeit captured from a non-native machine. Thus the XML needs to be converted to use virt type 'qemu'. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
29 lines
848 B
XML
29 lines
848 B
XML
<domain type='qemu'>
|
|
<name>QEMUGuest1</name>
|
|
<uuid>49545eb3-75e1-2d0a-acdd-f0294406c99e</uuid>
|
|
<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>
|
|
<dtb>/media/ram/test.dtb</dtb>
|
|
</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>
|