[PATCH 3/3] qemu: enable asynchronous teardown on s390x hosts
Boris Fiuczynski
fiuczy at linux.ibm.com
Fri Jun 23 12:56:05 UTC 2023
On 6/21/23 2:01 PM, Thomas Huth wrote:
>> index a19902988c..dfdc95bfa5 100644
>> --- a/src/qemu/qemu_command.c
>> +++ b/src/qemu/qemu_command.c
>> @@ -10166,6 +10166,18 @@ qemuBuildCryptoCommandLine(virCommand *cmd,
>> }
>> +static int
>> +qemuBuildTeardownCommandLine(virCommand *cmd,
>> + virQEMUCaps *qemuCaps)
>> +{
>> + if (ARCH_IS_S390(virArchFromHost()) &&
>> + virQEMUCapsGet(qemuCaps, QEMU_CAPS_RUN_WITH_ASYNC_TEARDOWN))
>> + virCommandAddArgList(cmd, "-run-with", "async-teardown=yes",
>> NULL);
>
> Using "=on" seems to be more common than using "=yes", so I'd maybe
> switch to "=on" here instead.
>
>> + return 0;
>> +}
>
> Apart from that, patches look fine to me, so feel free to add:
> Reviewed-by: Thomas Huth <thuth at redhat.com>
Thanks Thomas,
I will change "=yes" into "=on" in the next version.
The series needs to be reworked anyway.
--
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
More information about the libvir-list
mailing list