]> www.infradead.org Git - users/dwmw2/qemu.git/commit
vdpa: do not block migration if device has cvq and x-svq=on
authorEugenio Pérez <eperezma@redhat.com>
Fri, 2 Jun 2023 14:38:52 +0000 (16:38 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Jun 2023 13:50:00 +0000 (09:50 -0400)
commit8bc0049eadafb984d305c847cedff550b58e5fc0
tree693334fe01642881fd1ab462ce6b42cb96c65f05
parente0001297eb2f8569e950e55dbda8ad686e4155fb
vdpa: do not block migration if device has cvq and x-svq=on

It was a mistake to forbid in all cases, as SVQ is already able to send
all the CVQ messages before start forwarding data vqs.  It actually
caused a regression, making impossible to migrate device previously
migratable.

Fixes: 36e4647247f2 ("vdpa: add vhost_vdpa_net_valid_svq_features")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230602143854.1879091-2-eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Lei Yang <leiyang@redhat.com>
net/vhost-vdpa.c