On Thu, Jul 7, 2022 at 8:23 AM Markus Armbruster <arm...@redhat.com> wrote: > > Eugenio Pérez <epere...@redhat.com> writes: > > > Finally offering the possibility to enable SVQ from the command line. > > QMP, too, I guess. >
Hi Markus, I'm not sure what you mean. Dynamic enabling / disabling of SVQ was delayed, and now it's only possible to enable or disable it from the beginning of the run of qemu. Do you mean to enable SVQ before starting the guest somehow? Thanks! > > > > 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> > > [...] >