On 6/26/23 9:25 AM, Michal Prívozník wrote:
> Jonathon,
> thanks for your feedback.
>
> I am unsure where to located such a configuration option in the gust
> domain XML.
>
> A few thoughts:
> 1) introduce a new emulator-options element in devices and a run-with
> child element with a parameter async-teardown, e.g.
> ...
> <devices>
> <emulator>/usr/lib/bin/qemu</emulator>
> <emulator-options>
> <run-with async-teardown='on'/>
> </emulator-options>
> </devices>
> ...
>
> 2) introduce a new run-with element with a parameter async-teardown in
> domain, e.g.
>
> <domain>
> ...
> <run-with async-teardown='on'/>
> ...
> </domain>
>
> Any ideas and suggestions are welcome.
We usually use domain <features/>, e.g.:
<domain>
<name>someName</name>
<uuid/>
...
<features>
<acpi/>
<tcg>
<tb-cache unit='KiB'>102400</tb-cache>
</tcg>
</features>
...
<devices/>
</domain>
This looks like a fit place if we want to expose this in the domain XML.
And from the qemu-options.hx file it doesn't look s390x specific, which
means, we don't need to make the new element arch specific. IOW we can have:
<features>
<async-teardown enabled='yes'/>
</features>
Michal
Hi Michal,
thanks for your input. I will get down to work on this.
--
Mit freundlichen Grüßen/Kind regards
Boris Fiuczynski
IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Gregor Pillen
Geschäftsführung: David Faller
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294