mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-28 00:25:23 +00:00
bb74c66e67
Make the decision based on the usage of childBuf buffer.
This fixes the oddity in the test case introduced by commit c1c4d0d
where we would format an empty pair tag.
25 lines
705 B
XML
25 lines
705 B
XML
<domain type='kvm'>
|
|
<name>test</name>
|
|
<uuid>9aa4b45c-b9dd-45ef-91fe-862b27b4231f</uuid>
|
|
<memory unit='KiB'>262144</memory>
|
|
<currentMemory unit='KiB'>262144</currentMemory>
|
|
<vcpu placement='static'>1</vcpu>
|
|
<os>
|
|
<type arch='s390x' machine='s390-virtio'>hvm</type>
|
|
<boot dev='hd'/>
|
|
</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-s390x</emulator>
|
|
<controller type='virtio-serial' index='0'/>
|
|
<console type='pty'>
|
|
<target type='virtio' port='0'/>
|
|
</console>
|
|
<memballoon model='none'/>
|
|
<panic model='s390'/>
|
|
</devices>
|
|
</domain>
|