]> git.proxmox.com Git - mirror_qemu.git/commit
vdpa: move SVQ vring features check to net/
authorEugenio Pérez <eperezma@redhat.com>
Thu, 15 Dec 2022 11:31:39 +0000 (12:31 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 Dec 2022 11:35:28 +0000 (06:35 -0500)
commit258a03941fd23108a322d09abc9c55341e09688d
tree97c7dbd37f4a10bedb65aeefb69ab762833d5abd
parenta585fad26b2e6ccca156d9e65158ad1c5efd268d
vdpa: move SVQ vring features check to net/

The next patches will start control SVQ if possible. However, we don't
know if that will be possible at qemu boot anymore.

Since the moved checks will be already evaluated at net/ to know if it
is ok to shadow CVQ, move them.

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