Re: [PATCH V8 4/6] mdev: introduce virtio device and its device ops

From: Cornelia Huck
Date: Tue Nov 05 2019 - 11:58:04 EST


On Tue, 5 Nov 2019 17:32:38 +0800
Jason Wang <jasowang@xxxxxxxxxx> wrote:

> This patch implements basic support for mdev driver that supports
> virtio transport for kernel virtio driver.
>
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>
> ---
> drivers/vfio/mdev/mdev_core.c | 21 +++++
> drivers/vfio/mdev/mdev_private.h | 2 +
> include/linux/mdev.h | 6 ++
> include/linux/mdev_virtio_ops.h | 149 +++++++++++++++++++++++++++++++
> 4 files changed, 178 insertions(+)
> create mode 100644 include/linux/mdev_virtio_ops.h

Reviewed-by: Cornelia Huck <cohuck@xxxxxxxxxx>