aboutsummaryrefslogtreecommitdiff
path: root/hw/virtio
diff options
context:
space:
mode:
authorHawkins Jiawei <yin31149@gmail.com>2023-10-13 16:09:38 +0800
committerMichael S. Tsirkin <mst@redhat.com>2023-10-18 10:41:49 -0400
commit24e59cfe0cb53416b06c2c117bc22ff22dc54df3 (patch)
tree3f78bfb5e252d292d56f0c8a496c0d011c40cc05 /hw/virtio
parent327dedb8df91f57ef917ab5b5db519146ee6f08b (diff)
downloadqemu-24e59cfe0cb53416b06c2c117bc22ff22dc54df3.zip
qemu-24e59cfe0cb53416b06c2c117bc22ff22dc54df3.tar.gz
qemu-24e59cfe0cb53416b06c2c117bc22ff22dc54df3.tar.bz2
vdpa: Check device ack in vhost_vdpa_net_load_rx_mode()
Considering that vhost_vdpa_net_load_rx_mode() is only called within vhost_vdpa_net_load_rx() now, this patch refactors vhost_vdpa_net_load_rx_mode() to include a check for the device's ack, simplifying the code and improving its maintainability. Signed-off-by: Hawkins Jiawei <yin31149@gmail.com> Acked-by: Eugenio Pérez <eperezma@redhat.com> Message-Id: <68811d52f96ae12d68f0d67d996ac1642a623943.1697165821.git.yin31149@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio')
0 files changed, 0 insertions, 0 deletions