OSDN Git Service

virtio-net: add support for configure interrupt
authorCindy Lu <lulu@redhat.com>
Thu, 22 Dec 2022 07:04:49 +0000 (15:04 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 8 Jan 2023 06:54:22 +0000 (01:54 -0500)
commit8aab0d1dbe90c7b5ac6672a1a09b0578178f5f4c
tree1975eb9c04f76f27cc6856fae4d90405f550addb
parentf9a09ca3ea69d108d828b7c82f1bd61b2df6fc96
virtio-net: add support for configure interrupt

Add functions to support configure interrupt in virtio_net
Add the functions to support vhost_net_config_pending
and vhost_net_config_mask.

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