On 11/9/22 18:18, Peter Krempa wrote:
JSON args for -netdev were added as precursor for adding the
'dgram'
network backend type. Enable the detection and update test cases using
DO_TEST_CAPS_LATEST.
Enabling the capability also ensures that the -netdev argument is
validated against the QAPI schema of 'netdev_add' which was already
implemented but not enabled.
The parser supporting JSON was added by qemu commit f3eedcddba3 and
enabled when adding stream/dgram netdevs in commit 5166fe0ae46.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
src/qemu/qemu_capabilities.c | 2 ++
tests/qemucapabilitiesdata/caps_7.2.0.x86_64.xml | 1 +
tests/qemuxml2argvdata/boot-complex.x86_64-latest.args | 4 ++--
tests/qemuxml2argvdata/boot-order.x86_64-latest.args | 2 +-
.../channel-unix-guestfwd.x86_64-latest.args | 4 ++--
.../qemuxml2argvdata/devices-acpi-index.x86_64-latest.args | 6 +++---
tests/qemuxml2argvdata/disk-ioeventfd.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/event_idx.x86_64-latest.args | 2 +-
.../graphics-spice-timeout.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/name-escape.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/net-user.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/net-vdpa-multiqueue.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/net-vdpa.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/net-vhostuser.x86_64-latest.args | 6 +++---
tests/qemuxml2argvdata/net-virtio-rss.x86_64-latest.args | 6 +++---
tests/qemuxml2argvdata/q35-pcie-autoadd.x86_64-latest.args | 4 ++--
tests/qemuxml2argvdata/q35-pcie.x86_64-latest.args | 4 ++--
.../q35-virt-manager-basic.x86_64-latest.args | 2 +-
tests/qemuxml2argvdata/user-aliases.x86_64-latest.args | 6 +++---
tests/qemuxml2argvdata/virtio-lun.x86_64-latest.args | 2 +-
.../virtio-non-transitional.x86_64-latest.args | 2 +-
.../virtio-options-net-ats.x86_64-latest.args | 4 ++--
.../virtio-options-net-iommu.x86_64-latest.args | 4 ++--
.../virtio-options-net-packed.x86_64-latest.args | 4 ++--
tests/qemuxml2argvdata/virtio-options.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/virtio-transitional.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/x86_64-pc-graphics.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/x86_64-pc-headless.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/x86_64-q35-graphics.x86_64-latest.args | 2 +-
.../qemuxml2argvdata/x86_64-q35-headless.x86_64-latest.args | 2 +-
30 files changed, 46 insertions(+), 43 deletions(-)
Reviewed-by: Michal Privoznik <mprivozn(a)redhat.com>
Michal