qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost bac


From: Jason Wang
Subject: Re: [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend
Date: Thu, 8 Nov 2018 10:15:36 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1


On 2018/11/7 下午11:08, Liang, Cunming wrote:
believe.
[LC] Agreed, so it reuses CMD defined by vhost-kernel ioctl. But VFIO provides
device specific things (e.g. DMAR, INTR and etc.) which is the extra APIs being
introduced by this transport.


I'm not quite sure I understand here. I think having vhost-kernel
compatible ioctl does not conflict of using VFIO ioctl like DMA or INTR?

Btw, VFIO DMA ioctl is even not a must from my point of view, vhost-mdev
can forward the mem table information to device driver and let it call
DMA API to map/umap pages.
[LC] If not regarding vhost-mdev as a device, then forward mem table won't be a 
concern.
If introducing a new mdev bus driver (vhost-mdev) which allows mdev instance to 
be a new type of provider for vhost-kernel. It becomes a pretty good 
alternative to fully leverage vhost-kernel ioctl.
I'm not sure it's the same view as yours when you says reusing vhost-kernel 
ioctl.


Yes it is.

Thanks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]