[PATCH 04/17] qemuMonitorJSONMigrate: Extract flags prior to constructing command

Ján Tomko jtomko at redhat.com
Fri Dec 3 16:06:20 UTC 2021


On a Friday in 2021, Peter Krempa wrote:
>The migration API takes specific flags which are then converted to
>boolean parameters for the command. Extract the flag into helper
>variables rather than using ternary operatirs while constructing the

operators

>command itself.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_monitor_json.c | 16 +++++++++-------
> 1 file changed, 9 insertions(+), 7 deletions(-)
>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20211203/34f59b10/attachment-0001.sig>


More information about the libvir-list mailing list