From: Jason Wang <jasowang@redhat.com>
To: "Liang, Cunming" <cunming.liang@intel.com>,
"Wang, Xiao W" <xiao.w.wang@intel.com>,
"mst@redhat.com" <mst@redhat.com>,
"alex.williamson@redhat.com" <alex.williamson@redhat.com>
Cc: "Daly, Dan" <dan.daly@intel.com>,
"Wang, Zhihong" <zhihong.wang@intel.com>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
"Bie, Tiwei" <tiwei.bie@intel.com>,
"Ye, Xiaolong" <xiaolong.ye@intel.com>
Subject: Re: [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend
Date: Fri, 9 Nov 2018 10:32:35 +0800 [thread overview]
Message-ID: <9e22fb2f-c6fd-d71b-5ef7-21a11f657bd6@redhat.com> (raw)
In-Reply-To: <D0158A423229094DA7ABF71CF2FA0DA34EBCB34F@SHSMSX104.ccr.corp.intel.com>
On 2018/11/9 上午12:48, Liang, Cunming wrote:
>> -----Original Message-----
>> From: Jason Wang [mailto:jasowang@redhat.com]
>> Sent: Thursday, November 8, 2018 2:16 AM
>> To: Liang, Cunming<cunming.liang@intel.com>; Wang, Xiao W
>> <xiao.w.wang@intel.com>;mst@redhat.com;alex.williamson@redhat.com
>> Cc:qemu-devel@nongnu.org; Bie, Tiwei<tiwei.bie@intel.com>; Ye, Xiaolong
>> <xiaolong.ye@intel.com>; Wang, Zhihong<zhihong.wang@intel.com>; Daly, Dan
>> <dan.daly@intel.com>
>> Subject: Re: [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend
>>
>>
>> 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.
> [LC] It sounds a pretty good idea to me. Let us spend some time to figure out the next level detail, and sync-up further plan in community call.:)
>
Cool, thanks.
prev parent reply other threads:[~2018-11-09 2:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-16 13:23 [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend Xiao Wang
2018-10-16 13:23 ` [Qemu-devel] [RFC 1/2] vhost-vfio: introduce vhost-vfio net client Xiao Wang
2018-10-16 13:23 ` [Qemu-devel] [RFC 2/2] vhost-vfio: implement vhost-vfio backend Xiao Wang
2018-11-06 4:17 ` [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend Jason Wang
2018-11-07 12:26 ` Liang, Cunming
2018-11-07 14:38 ` Jason Wang
2018-11-07 15:08 ` Liang, Cunming
2018-11-08 2:15 ` Jason Wang
2018-11-08 16:48 ` Liang, Cunming
2018-11-09 2:32 ` Jason Wang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9e22fb2f-c6fd-d71b-5ef7-21a11f657bd6@redhat.com \
--to=jasowang@redhat.com \
--cc=alex.williamson@redhat.com \
--cc=cunming.liang@intel.com \
--cc=dan.daly@intel.com \
--cc=mst@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=tiwei.bie@intel.com \
--cc=xiao.w.wang@intel.com \
--cc=xiaolong.ye@intel.com \
--cc=zhihong.wang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).