vhost: add support for configure interrupt
commitf9a09ca3ea69d108d828b7c82f1bd61b2df6fc96
authorCindy Lu <lulu@redhat.com>
Thu, 22 Dec 2022 07:04:48 +0000 (22 15:04 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (8 01:54 -0500)
treeaa901344c504227708a60f3946e829c8d7626f7e
parent7d847d0c9b93b91160f40d69a65c904d76f1edd8
vhost: add support for configure interrupt

Add functions to support configure interrupt.
The configure interrupt process will start in vhost_dev_start
and stop in vhost_dev_stop.

Also add the functions to support vhost_config_pending and
vhost_config_mask.

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20221222070451.936503-8-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/vhost.c
include/hw/virtio/vhost.h