Peter Krempa
89b5bc626a
qemu: command: Introduce JSON variant of qemuBuildVirtioDevStr
...
Add a JSON variant of the generator of properties for virtio devices.
For convenience both the old and new are for now marked as unused, which
will be removed once the conversion is complete.
The formatted properties have following types according to QEMU.
'virtio-blk-pci' was used as an example:
disable-legacy=<OnOffAuto> - on/off/auto (default: "auto")
disable-modern=<bool> - (default: false)
iommu_platform=<bool> - on/off (default: false)
ats=<bool> - on/off (default: false)
packed=<bool> - on/off (default: false)
Note that <OnOffAuto> is an enum type without alternates in QMP so it
must be represented as a string in JSON.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
2021-10-12 10:26:03 +02:00
..
2020-08-03 09:27:04 +02:00
2021-04-06 17:07:05 +02:00
2021-02-10 09:30:41 -07:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-10-06 12:03:12 +02:00
2021-10-06 12:03:12 +02:00
2021-09-24 10:37:00 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 10:26:01 +02:00
2021-07-26 20:25:22 +02:00
2021-04-26 17:22:52 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 10:26:00 +02:00
2021-10-12 10:26:00 +02:00
2021-04-21 10:20:46 +02:00
2021-09-21 12:25:42 +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-10-12 10:26:03 +02:00
2021-10-12 10:26:02 +02:00
2021-10-05 14:58:52 +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-10-01 11:02:53 +02:00
2021-06-15 16:58:23 +02:00
2021-10-06 12:03:12 +02:00
2021-10-12 10:26:02 +02:00
2021-04-13 17:00:38 +02:00
2021-05-03 12:08:26 +02:00
2021-10-12 10:26:00 +02:00
2021-10-06 12:03:12 +02:00
2021-04-13 17:00:38 +02:00
2021-08-09 10:09:00 +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-10-12 10:26:02 +02:00
2021-10-06 12:03:12 +02:00
2021-04-15 15:42:21 +02:00
2021-04-13 17:00:38 +02:00
2021-07-23 11:30:46 +02:00
2021-08-25 15:32:44 +02:00
2021-08-25 15:32:44 +02:00
2021-09-24 10:37:00 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-25 15:32:44 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 10:26:01 +02:00
2021-10-12 10:26:01 +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-10-12 10:26:01 +02:00
2021-10-12 10:26:01 +02:00
2021-09-21 12:25:42 +02:00
2021-07-15 12:00:24 +02:00
2021-10-12 10:26:02 +02:00
2021-10-12 10:26:00 +02:00
2021-07-23 10:01:48 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-16 09:24:38 +02:00
2021-04-13 17:00:38 +02:00
2021-08-26 16:06:45 -06:00
2021-08-26 16:06:45 -06:00
2021-03-12 17:05:52 +01:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-09-24 10:37:00 +02:00
2021-05-24 20:38:07 +02:00
2021-09-15 09:54:06 +02:00
2021-04-13 17:00:38 +02:00
2021-10-12 10:26:02 +02:00
2021-08-25 15:32:44 +02:00
2021-04-13 17:00:38 +02:00
2021-04-13 17:00:38 +02:00
2021-07-26 10:01:59 -04:00
2021-04-13 17:00:38 +02:00
2021-10-06 12:03:12 +02:00
2021-04-13 17:00:38 +02:00
2021-09-27 10:11:21 +02:00
2021-04-06 17:07:05 +02:00
2021-04-13 17:00:38 +02:00
2019-12-16 10:11:22 +01:00
2021-08-31 13:40:33 +01:00
2020-04-03 11:50:57 +02:00