]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: allow use of async teardown in domain
authorBoris Fiuczynski <fiuczy@linux.ibm.com>
Wed, 5 Jul 2023 06:20:26 +0000 (08:20 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 10 Jul 2023 11:28:17 +0000 (13:28 +0200)
commit3bf02acdc5446b2c4a3078f99d8f5232acff9043
tree287c482ee35044b799f9b4557bb62852c5cecf28
parent65c6513811d1cdc7e97319164d7528411520dd0c
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>
23 files changed:
docs/formatdomain.rst
src/conf/domain_conf.c
src/conf/domain_conf.h
src/conf/schemas/domaincommon.rng
src/qemu/qemu_command.c
src/qemu/qemu_validate.c
tests/qemuxml2argvdata/async-teardown.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/async-teardown.xml [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown-disabled.s390x-6.0.0.args [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown-disabled.s390x-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown-disabled.xml [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown-no-attrib.s390x-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown-no-attrib.xml [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown.s390x-6.0.0.err [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown.s390x-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/s390-async-teardown.xml [new file with mode: 0644]
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/async-teardown.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/s390-async-teardown-disabled.s390x-6.0.0.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/s390-async-teardown-disabled.s390x-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/s390-async-teardown-no-attrib.s390x-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/s390-async-teardown.s390x-latest.xml [new file with mode: 0644]
tests/qemuxml2xmltest.c