]> git.ipfire.org Git - thirdparty/qemu.git/commit
vdpa net: follow VirtIO initialization properly at cvq isolation probing
authorEugenio Pérez <eperezma@redhat.com>
Fri, 15 Sep 2023 17:08:36 +0000 (19:08 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 6 Oct 2023 12:35:44 +0000 (15:35 +0300)
commitfe3afc06fac1a07b575de638cd82335a3bac1058
treec5a0434bbd5c3bf1db78ad9e7672e16a2aa5f0cf
parente6d9dd102dc57e9043265f9d44aec02e3774a86a
vdpa net: follow VirtIO initialization properly at cvq isolation probing

This patch solves a few issues.  The most obvious is that the feature
set was done previous to ACKNOWLEDGE | DRIVER status bit set.  Current
vdpa devices are permissive with this, but it is better to follow the
standard.

Fixes: 152128d646 ("vdpa: move CVQ isolation check to net_init_vhost_vdpa")
Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230915170836.3078172-4-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>
(cherry picked from commit 845ec38ae1578dd2d42ff15c9979f1bf44b23418)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
net/vhost-vdpa.c