Re: [RFC 08/10] vhost: Add x-vhost-enable-shadow-vq qmp

2021-02-04 Thread Eugenio Perez Martin
On Thu, Feb 4, 2021 at 1:16 PM Markus Armbruster wrote: > > Eugenio Perez Martin writes: > > > On Tue, Feb 2, 2021 at 4:38 PM Eric Blake wrote: > >> > >> On 1/29/21 2:54 PM, Eugenio Pérez wrote: > [...] > >> > diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c > >> > index 040f68ff2e..42836e45f3

Re: [RFC 08/10] vhost: Add x-vhost-enable-shadow-vq qmp

2021-02-04 Thread Markus Armbruster
Eugenio Perez Martin writes: > On Tue, Feb 2, 2021 at 4:38 PM Eric Blake wrote: >> >> On 1/29/21 2:54 PM, Eugenio Pérez wrote: [...] >> > diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c >> > index 040f68ff2e..42836e45f3 100644 >> > --- a/hw/virtio/vhost.c >> > +++ b/hw/virtio/vhost.c >> > @@

Re: [RFC 08/10] vhost: Add x-vhost-enable-shadow-vq qmp

2021-02-04 Thread Eugenio Perez Martin
On Tue, Feb 2, 2021 at 4:38 PM Eric Blake wrote: > > On 1/29/21 2:54 PM, Eugenio Pérez wrote: > > Command to enable shadow virtqueue looks like: > > > > { "execute": "x-vhost-enable-shadow-vq", "arguments": { "name": "dev0", > > "enable": true } } > > > > Signed-off-by: Eugenio Pérez > > --- > >

Re: [RFC 08/10] vhost: Add x-vhost-enable-shadow-vq qmp

2021-02-02 Thread Eric Blake
On 1/29/21 2:54 PM, Eugenio Pérez wrote: > Command to enable shadow virtqueue looks like: > > { "execute": "x-vhost-enable-shadow-vq", "arguments": { "name": "dev0", > "enable": true } } > > Signed-off-by: Eugenio Pérez > --- > qapi/net.json | 23 +++ > hw/virtio/vhost.

[RFC 08/10] vhost: Add x-vhost-enable-shadow-vq qmp

2021-01-29 Thread Eugenio Pérez
Command to enable shadow virtqueue looks like: { "execute": "x-vhost-enable-shadow-vq", "arguments": { "name": "dev0", "enable": true } } Signed-off-by: Eugenio Pérez --- qapi/net.json | 23 +++ hw/virtio/vhost.c | 6 ++ 2 files changed, 29 insertions(+) diff --gi