From: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
To: Alex Williamson <alex.williamson@redhat.com>
Cc: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>,
kvm@vger.kernel.org, linux-s390@vger.kernel.org,
qemu-devel@nongnu.org, renxiaof@linux.vnet.ibm.com,
cornelia.huck@de.ibm.com, borntraeger@de.ibm.com, agraf@suse.com,
pmorel@linux.vnet.ibm.com, pasic@linux.vnet.ibm.com,
wkywang@linux.vnet.ibm.com
Subject: Re: [Qemu-devel] [PATCH RFC v2 07/12] vfio/ccw: vfio based subchannel passthrough driver
Date: Wed, 18 Jan 2017 11:22:23 +0800 [thread overview]
Message-ID: <20170118032223.GO30301@bjsdjshi@linux.vnet.ibm.com> (raw)
In-Reply-To: <20170117154928.6b7886fb@t450s.home>
* Alex Williamson <alex.williamson@redhat.com> [2017-01-17 15:49:28 -0700]:
> On Thu, 12 Jan 2017 08:25:08 +0100
> Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> wrote:
>
> > From: Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
> >
> > We use the IOMMU_TYPE1 of VFIO to realize the subchannels
> > passthrough, implement a vfio based subchannels passthrough
> > driver called "vfio-ccw".
> >
> > Support qemu parameters in the style of:
> > "-device vfio-ccw,id=xx,hostid=xx(,guestid=xx),mdevid=xx"
>
> Why not adopt the same syntax as vfio-pci with mdev devices,
> sysfsdev=%s where %s is a path to the mdev device in sysfs, which can
> be /sys/bus/mdev/devices/$UUID or as you create from the hostid
> below /sys/bus/css/devices/%x.%x.%04x/$UUID.
Ok. This is a good point.
I will change the cmdline interface to:
-device vfio-ccw,id=xx,sysfsdev=xx(,devno=xx)
Since "hostid" is removed, I will also rename "guestid" to "devno" to
make it looking consistent with the virtio-ccw devices.
> It seems if we know where
> to find the mdev device then we can determine the parent information on
> our own through sysfs.
>
This is true.
> > Signed-off-by: Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
[...]
--
Dong Jia
next prev parent reply other threads:[~2017-01-18 3:22 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-12 7:25 [PATCH RFC v2 00/12] basic channel IO passthrough infrastructure based on vfio Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 01/12] update-linux-headers: add asm-s390/vfio_ccw.h Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 02/12] vfio: linux-headers update for vfio-ccw Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-17 21:51 ` Alex Williamson
2017-01-17 21:51 ` [Qemu-devel] " Alex Williamson
2017-01-18 2:51 ` Dong Jia Shi
2017-01-18 2:51 ` [Qemu-devel] " Dong Jia Shi
2017-01-18 12:41 ` Cornelia Huck
2017-01-18 12:41 ` [Qemu-devel] " Cornelia Huck
2017-01-18 20:43 ` Alex Williamson
2017-01-18 20:43 ` [Qemu-devel] " Alex Williamson
2017-01-19 1:54 ` Dong Jia Shi
2017-01-19 1:54 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 03/12] s390x/css: add s390-map-css machine option Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-02-17 2:08 ` Dong Jia Shi
2017-02-17 2:08 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 04/12] s390x/css: realize css_sch_build_schib Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 05/12] s390x/css: realize css_create_sch Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 06/12] s390x/css: device support for s390-ccw passthrough Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 07/12] vfio/ccw: vfio based subchannel passthrough driver Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-17 22:49 ` Alex Williamson
2017-01-17 22:49 ` [Qemu-devel] " Alex Williamson
2017-01-18 3:22 ` Dong Jia Shi [this message]
2017-01-18 3:22 ` Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 08/12] vfio/ccw: get io region info Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-17 22:49 ` Alex Williamson
2017-01-17 22:49 ` [Qemu-devel] " Alex Williamson
2017-01-18 5:22 ` Dong Jia Shi
2017-01-18 5:22 ` [Qemu-devel] " Dong Jia Shi
2017-01-18 5:51 ` Dong Jia Shi
2017-01-18 5:51 ` Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 09/12] vfio/ccw: get irqs info and set the eventfd fd Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-17 22:53 ` Alex Williamson
2017-01-17 22:53 ` [Qemu-devel] " Alex Williamson
2017-01-18 5:55 ` Dong Jia Shi
2017-01-18 5:55 ` Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 10/12] s390x/css: introduce and realize ccw-request callback Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 11/12] s390x/css: ccws translation infrastructure Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 7:25 ` [PATCH RFC v2 12/12] vfio/ccw: update sense data if a unit check is pending Dong Jia Shi
2017-01-12 7:25 ` [Qemu-devel] " Dong Jia Shi
2017-01-12 8:00 ` [Qemu-devel] [PATCH RFC v2 00/12] basic channel IO passthrough infrastructure based on vfio no-reply
2017-01-12 8:00 ` no-reply
2017-01-12 8:00 ` no-reply
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=20170118032223.GO30301@bjsdjshi@linux.vnet.ibm.com \
--to=bjsdjshi@linux.vnet.ibm.com \
--cc=agraf@suse.com \
--cc=alex.williamson@redhat.com \
--cc=borntraeger@de.ibm.com \
--cc=cornelia.huck@de.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=pasic@linux.vnet.ibm.com \
--cc=pmorel@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=renxiaof@linux.vnet.ibm.com \
--cc=wkywang@linux.vnet.ibm.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.