1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-03-20 07:59:00 +00:00
Peter Krempa 63a833038f qemu: command: Format netdev as JSON when QEMU_CAPS_NETDEV_JSON is present
Base the JSON output on a regular capability flag rather than purely
internal flag. This will prepare for the time when QEMU will accept JSON
argumets for -netdev.

For now the capability is not set (thus we for now don't have QMP
schema validation) but that will be addressed later.

To achieve this 'qemuBuildNetdevCommandlineFromJSON' is introduced
and all callers of 'virQEMUBuildNetdevCommandlineFromJSON' are
refactored to use the new helper.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-10-12 10:26:00 +02:00
..
2021-05-24 20:26:20 +02:00
2021-03-02 09:50:19 +01:00
2020-10-06 12:31:34 +02:00
2021-04-13 17:00:38 +02:00
2021-03-02 09:50:19 +01:00
2021-04-13 17:00:38 +02:00
2021-05-24 20:26:20 +02:00
2021-05-13 11:07:13 +01:00
2021-05-13 11:07:13 +01:00
2020-10-06 12:31:34 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00
2021-08-17 18:27:13 +02:00