vdpa: mask _F_CTRL_GUEST_OFFLOADS for vhost vdpa devices
commit51e84244a7799172f4239482199e9b4bdcd23172
authorEugenio Pérez <eperezma@redhat.com>
Fri, 2 Jun 2023 17:33:28 +0000 (2 19:33 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Jun 2023 13:50:00 +0000 (26 09:50 -0400)
treef2fbff9f68429f801cca2f0a1124fdc7415c8e0f
parent92099aa4e9a3bb6856c290afaf41c76f9e3dd9fd
vdpa: mask _F_CTRL_GUEST_OFFLOADS for vhost vdpa devices

QEMU does not emulate it so it must be disabled as long as the backend
does not support it.

Signed-off-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <20230602173328.1917385-1-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>
Tested-by: Lei Yang <leiyang@redhat.com>
net/vhost-vdpa.c