All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Liang, Cunming" <cunming.liang@intel.com>
To: Jason Wang <jasowang@redhat.com>,
	"Wang, Xiao W" <xiao.w.wang@intel.com>,
	"mst@redhat.com" <mst@redhat.com>,
	"alex.williamson@redhat.com" <alex.williamson@redhat.com>
Cc: "qemu-devel@nongnu.org" <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: [Qemu-devel] [RFC 0/2] vhost-vfio: introduce mdev based HW vhost backend
Date: Thu, 8 Nov 2018 16:48:32 +0000	[thread overview]
Message-ID: <D0158A423229094DA7ABF71CF2FA0DA34EBCB34F@SHSMSX104.ccr.corp.intel.com> (raw)
In-Reply-To: <925d4df0-13e3-39ea-5d91-991144a29ffe@redhat.com>



> -----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. :)

> 
> Thanks


  reply	other threads:[~2018-11-08 16:48 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 [this message]
2018-11-09  2:32             ` Jason Wang

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=D0158A423229094DA7ABF71CF2FA0DA34EBCB34F@SHSMSX104.ccr.corp.intel.com \
    --to=cunming.liang@intel.com \
    --cc=alex.williamson@redhat.com \
    --cc=dan.daly@intel.com \
    --cc=jasowang@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.