qapi/qom: Add ObjectOptions for filter-*
commit1156a67531d23f01c1d86ee12deb1c4e290b5044
authorKevin Wolf <kwolf@redhat.com>
Tue, 20 Oct 2020 10:47:58 +0000 (20 12:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:17:13 +0000 (19 10:17 +0100)
treed6d93b5b0a3d06be685c652045657777fd144634
parent3d0d3c30ae3a259bff176f85a3efa2d0816695af
qapi/qom: Add ObjectOptions for filter-*

This adds a QAPI schema for the properties of the filter-* objects.

Some parts of the interface (in particular NetfilterProperties.position)
are very unusual for QAPI, but for now just describe the existing
interface.

net.json can't be included in qom.json because the storage daemon
doesn't have it. NetFilterDirection is still required in the new object
property definitions in qom.json, so move this enum to common.json.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
qapi/common.json
qapi/net.json
qapi/qom.json