[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1b60cc37-1c85-df85-1f4d-3f9a10ecef54@redhat.com>
Date: Thu, 7 Nov 2019 18:16:46 +0800
From: Jason Wang <jasowang@...hat.com>
To: Tiwei Bie <tiwei.bie@...el.com>, mst@...hat.com,
alex.williamson@...hat.com, maxime.coquelin@...hat.com
Cc: linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
dan.daly@...el.com, cunming.liang@...el.com,
zhihong.wang@...el.com, lingshan.zhu@...el.com
Subject: Re: [PATCH v6] vhost: introduce mdev based hardware backend
On 2019/11/7 下午3:35, Tiwei Bie wrote:
> This patch introduces a mdev based hardware vhost backend.
> This backend is built on top of the same abstraction used
> in virtio-mdev and provides a generic vhost interface for
> userspace to accelerate the virtio devices in guest.
>
> This backend is implemented as a mdev device driver on top
> of the same mdev device ops used in virtio-mdev but using
> a different mdev class id, and it will register the device
> as a VFIO device for userspace to use. Userspace can setup
> the IOMMU with the existing VFIO container/group APIs and
> then get the device fd with the device name. After getting
> the device fd, userspace can use vhost ioctls on top of it
> to setup the backend.
>
> Signed-off-by: Tiwei Bie<tiwei.bie@...el.com>
> ---
> This patch depends on below series:
> https://lkml.org/lkml/2019/11/6/538
Acked-by: Jason Wang <jasowang@...hat.com>
Thanks!
Powered by blists - more mailing lists