diff options
author | Hawkins Jiawei <yin31149@gmail.com> | 2023-06-02 19:52:14 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2023-06-26 09:50:00 -0400 |
commit | 02d3bf099ba071f37145cfcc34d088e8f839072f (patch) | |
tree | 6b3bccfdf20ffba359cf247f486e081dc8c38189 /hw/net/virtio-net.c | |
parent | 0a47810b09909a432b705e89e0cb5f9c1109465f (diff) | |
download | qemu-02d3bf099ba071f37145cfcc34d088e8f839072f.zip qemu-02d3bf099ba071f37145cfcc34d088e8f839072f.tar.gz qemu-02d3bf099ba071f37145cfcc34d088e8f839072f.tar.bz2 |
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>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions