Peter Krempa 4f33b817b2 qemu: command: Use JSON for QAPIfied -object directly
Skip the lossy conversion to legacy commandline arguments by using the
JSON props directly when -object is QAPIfied. This avoids issues with
conversion of bitmaps and also allows validation of the generated JSON
against the QMP schema in the tests.

Since the new approach is triggered by a qemu capability the code
from 'virQEMUBuildObjectCommandlineFromJSON' in util/virqemu.c was moved
to 'qemuBuildObjectCommandlineFromJSON' in qemu/qemu_command.c which has
the virQEMUCaps type.

Some functions needed to be modified to propagate qemuCaps.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2021-03-23 14:06:31 +01:00
..
2021-03-22 12:44:18 +01:00
2021-03-22 12:44:18 +01:00
2020-07-09 10:01:41 +02:00
2021-03-02 09:50:19 +01:00
2020-10-06 12:31:34 +02:00
2020-02-24 23:15:49 +01:00
2021-03-02 09:50:19 +01:00
2020-02-24 17:25:07 +00:00
2020-08-03 15:30:40 +02:00
2021-03-01 15:54:42 +01:00
2021-01-25 20:27:38 -05:00
2021-03-02 09:50:19 +01:00
2019-10-16 12:06:44 +02:00
2021-03-12 10:57:42 +01:00
2020-03-05 12:23:02 +00:00
2020-10-06 12:31:34 +02:00
2019-10-16 12:06:44 +02:00
2020-12-04 16:24:19 +01:00
2020-12-04 16:24:19 +01:00