vdpa: block migration if SVQ does not admit a feature
authorEugenio Pérez <eperezma@redhat.com>
Fri, 3 Mar 2023 17:24:43 +0000 (18:24 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Mar 2023 17:38:59 +0000 (12:38 -0500)
commit57ac831865e370012496fb581a38d261cb72c5d0
tree4eaf7149165515fb510a14d4a920ddc52dd0a052
parent5c1ebd4c432eda629aeb7a4ecab45220d0272616
vdpa: block migration if SVQ does not admit a feature

Next patches enable devices to be migrated even if vdpa netdev has not
been started with x-svq. However, not all devices are migratable, so we
need to block migration if we detect that.

Block migration if we detect the device expose a feature SVQ does not
know how to work with.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230303172445.1089785-13-eperezma@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-vdpa.c