]> git.proxmox.com Git - mirror_qemu.git/commit
vdpa: reuse virtio_vdev_has_feature()
authorHawkins Jiawei <yin31149@gmail.com>
Fri, 2 Jun 2023 11:52:14 +0000 (19:52 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 26 Jun 2023 13:50:00 +0000 (09:50 -0400)
commit02d3bf099ba071f37145cfcc34d088e8f839072f
tree6b3bccfdf20ffba359cf247f486e081dc8c38189
parent0a47810b09909a432b705e89e0cb5f9c1109465f
vdpa: reuse virtio_vdev_has_feature()

We can use virtio_vdev_has_feature() instead of manually
accessing the features.

Signed-off-by: Hawkins Jiawei <yin31149@gmail.com>
Acked-by: Eugenio Pérez <eperezma@redhat.com>
Message-Id: <ff838d30206209fd865511b16ffb34cc0d5e8d8f.1685704856.git.yin31149@gmail.com>
Tested-by: Lei Yang <leiyang@redhat.com>
Reviewed-by: Eugenio Pérez <eperezma@redhat.com>
Tested-by: Eugenio Pérez <eperezma@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
net/vhost-vdpa.c