vdpa: always start CVQ in SVQ mode if possible
authorEugenio Pérez <eperezma@redhat.com>
Thu, 15 Dec 2022 11:31:44 +0000 (12:31 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 11:35:28 +0000 (06:35 -0500)
commitc1a1008685af0327d9d03f03d43bdb77e7af5bea
tree4a495459cc4b640a14cb8d5e6f283e334f7669ac
parent6188d78a19894ac8f2bf9484d48a5235a529d3b7
vdpa: always start CVQ in SVQ mode if possible

Isolate control virtqueue in its own group, allowing to intercept control
commands but letting dataplane run totally passthrough to the guest.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20221215113144.322011-13-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-vdpa.c
net/vhost-vdpa.c