Eugenio Pérez <epere...@redhat.com> writes: > Finally offering the possibility to enable SVQ from the command line.
QMP, too, I guess. > > Signed-off-by: Eugenio Pérez <epere...@redhat.com> > --- > qapi/net.json | 9 +++++- > net/vhost-vdpa.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++-- > 2 files changed, 77 insertions(+), 4 deletions(-) > > diff --git a/qapi/net.json b/qapi/net.json > index 9af11e9a3b..75ba2cb989 100644 > --- a/qapi/net.json > +++ b/qapi/net.json > @@ -445,12 +445,19 @@ > # @queues: number of queues to be created for multiqueue vhost-vdpa > # (default: 1) > # > +# @x-svq: Start device with (experimental) shadow virtqueue. (Since 7.1) > +# (default: false) > +# > +# Features: > +# @unstable: Member @x-svq is experimental. > +# > # Since: 5.1 > ## > { 'struct': 'NetdevVhostVDPAOptions', > 'data': { > '*vhostdev': 'str', > - '*queues': 'int' } } > + '*queues': 'int', > + '*x-svq': {'type': 'bool', 'features' : [ 'unstable'] } } } > > ## QAPI schema: Acked-by: Markus Armbruster <arm...@redhat.com> [...]