libvirt/tests/qemuxml2argvdata/s390-async-teardown.xml
Boris Fiuczynski 3bf02acdc5 qemu: allow use of async teardown in domain
Asynchronous teardown can be specified if the QEMU binary supports it by
adding in the domain XML

  <features>
    ...
    <async-teardown enabled='yes|no'/>
    ...
  </features>

By default this new feature is disabled.

Signed-off-by: Boris Fiuczynski <fiuczy@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2023-07-10 13:28:17 +02:00

25 lines
651 B
XML

<domain type='qemu'>
<name>QEMUGuest1</name>
<uuid>9aa4b45c-b9dd-45ef-91fe-862b27b4231f</uuid>
<memory>262144</memory>
<currentMemory>262144</currentMemory>
<os>
<type arch='s390x' machine='s390-ccw-virtio'>hvm</type>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<features>
<async-teardown enabled='yes'/>
</features>
<devices>
<emulator>/usr/bin/qemu-system-s390x</emulator>
<controller type='virtio-serial' index='0'>
</controller>
<console type='pty'>
<target type='virtio'/>
</console>
</devices>
</domain>