Re: [Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-28 Thread Michael S. Tsirkin
On Wed, Mar 28, 2018 at 08:24:07PM +0800, Tiwei Bie wrote: > > > Update notes > > > > > > > > > IOMMU feature bit check is removed in this version, because: > > > > > > The IOMMU feature is negotiable, when an accelerator is used and > > > it doesn't support virtual IOMMU, its driver

Re: [Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-28 Thread Tiwei Bie
On Thu, Mar 22, 2018 at 06:40:18PM +0200, Michael S. Tsirkin wrote: > On Mon, Mar 19, 2018 at 03:15:31PM +0800, Tiwei Bie wrote: [...] > > > > Below link is an example showing how to setup a such environment > > via nested VM. In this case, the virtio device in the outer VM is > > the accelerator.

Re: [Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-23 Thread Tiwei Bie
On Thu, Mar 22, 2018 at 04:55:39PM +0200, Michael S. Tsirkin wrote: > On Mon, Mar 19, 2018 at 03:15:31PM +0800, Tiwei Bie wrote: > > This patch set does some small extensions to vhost-user protocol > > to support VFIO based accelerators, and makes it possible to get > > the similar performance of V

Re: [Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-22 Thread Michael S. Tsirkin
On Mon, Mar 19, 2018 at 03:15:31PM +0800, Tiwei Bie wrote: > This patch set does some small extensions to vhost-user protocol > to support VFIO based accelerators, and makes it possible to get > the similar performance of VFIO based PCI passthru while keeping > the virtio device emulation in QEMU.

Re: [Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-22 Thread Michael S. Tsirkin
On Mon, Mar 19, 2018 at 03:15:31PM +0800, Tiwei Bie wrote: > This patch set does some small extensions to vhost-user protocol > to support VFIO based accelerators, and makes it possible to get > the similar performance of VFIO based PCI passthru while keeping > the virtio device emulation in QEMU.

[Qemu-devel] [PATCH v2 0/6] Extend vhost-user to support VFIO based accelerators

2018-03-19 Thread Tiwei Bie
This patch set does some small extensions to vhost-user protocol to support VFIO based accelerators, and makes it possible to get the similar performance of VFIO based PCI passthru while keeping the virtio device emulation in QEMU. How does accelerator accelerate vhost (data path)