vhost-vdpa: add support for config interrupt
commit259f3acc1c675dd77ebbdb28a483f5d0220bdbf6
authorCindy Lu <lulu@redhat.com>
Thu, 22 Dec 2022 07:04:46 +0000 (22 15:04 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (8 01:54 -0500)
tree845b76797a79f00dd94a16062eff25b0d64ceef2
parent9b30cdf9bbf9524a4f4f8a6eb551eb13cbbd3893
vhost-vdpa: add support for config interrupt

Add new call back function in vhost-vdpa, The function
vhost_set_config_call can set the event fd to kernel.
This function will be called in the vhost_dev_start
and vhost_dev_stop

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20221222070451.936503-6-lulu@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/trace-events
hw/virtio/vhost-vdpa.c