vhost: introduce new VhostOps vhost_dev_start
commit68513bcd88d5c6d81cfa6563537c20430facfca7
authorCindy Lu <lulu@redhat.com>
Wed, 1 Jul 2020 14:55:30 +0000 (1 22:55 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 3 Jul 2020 11:57:04 +0000 (3 07:57 -0400)
treea117359887a8e6fc284189c751babe5daa484cda
parent3f63b4c655047dad8bfe9443051f0bf1d56f029a
vhost: introduce new VhostOps vhost_dev_start

This patch introduces new VhostOps vhost_dev_start callback which allows the
vhost_net set the start/stop status to backend

Signed-off-by: Cindy Lu <lulu@redhat.com>
Message-Id: <20200701145538.22333-7-lulu@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Acked-by: Jason Wang <jasowang@redhat.com>
include/hw/virtio/vhost-backend.h