From: Alex Williamson <alex.williamson@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Tian, Kevin" <kevin.tian@intel.com>,
"kvm@vger.kernel.org" <kvm@vger.kernel.org>,
Erik Skultety <eskultet@redhat.com>,
libvirt <libvir-list@redhat.com>,
"Zhang, Tina" <tina.zhang@intel.com>,
"kwankhede@nvidia.com" <kwankhede@nvidia.com>,
"intel-gvt-dev@lists.freedesktop.org"
<intel-gvt-dev@lists.freedesktop.org>
Subject: Re: [libvirt] [PATCH 0/3] sample: vfio mdev display devices.
Date: Thu, 26 Apr 2018 09:44:45 -0600 [thread overview]
Message-ID: <20180426094445.2175df21@w520.home> (raw)
In-Reply-To: <20180426061427.h2glnfonfjpo6cr4@sirius.home.kraxel.org>
On Thu, 26 Apr 2018 08:14:27 +0200
Gerd Hoffmann <kraxel@redhat.com> wrote:
> On Thu, Apr 26, 2018 at 03:44:15AM +0000, Tian, Kevin wrote:
> > > From: Alex Williamson
> > > Sent: Thursday, April 19, 2018 2:32 AM
> > >
> > > That almost begins to look reasonable, but then we can only expose this
> > > for mdev devices, what if we were to hack a back door into a directly
> > > assigned GPU that tracks the location of active display in the
> > > framebuffer and implement the GFX_PLANE interface for that? We have no
> > > sysfs representation for either the template or the actual device for
> > > anything other than mdev. This inconsistency with physically assigned
> > > devices has been one of my arguments against enhancing mdev sysfs.
> >
> > One possible option is to wrap directly assigned GPU into a mdev. The
> > parent driver could be a dummy PCI driver which does basic PCI
> > initialization, and then provide hooks for vendor-specific hack.
>
> Thowing amdgpu into the mix. Looks they have vgpu support too, but
> using sriov instead of mdev. Having VFIO_GFX support surely looks
> useful there. Adding a mdev dependency to the VFIO_GFX api would makes
> things more complicated there for (IMHO) no good reason ...
Yes, it may be that a device wanting to implement display or migration
might take the mdev approach, but that should be a choice of the
implementation, not a requirement imposed by the API. Thanks,
Alex
prev parent reply other threads:[~2018-04-26 15:44 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20180409103513.8020-1-kraxel@redhat.com>
2018-04-09 10:35 ` [PATCH 1/3] sample: vfio mdev display - host device Gerd Hoffmann
2018-04-24 2:41 ` Alex Williamson
2018-04-24 6:29 ` Gerd Hoffmann
2018-04-09 10:35 ` [PATCH 2/3] sample: vfio mdev display - guest driver Gerd Hoffmann
2018-04-11 20:39 ` Bjorn Helgaas
2018-04-24 2:51 ` Alex Williamson
2018-04-25 21:03 ` Konrad Rzeszutek Wilk
2018-04-09 10:35 ` [PATCH 3/3] sample: vfio bochs vbe display (host device for bochs-drm) Gerd Hoffmann
2018-04-24 3:05 ` Alex Williamson
2018-04-18 18:31 ` [libvirt] [PATCH 0/3] sample: vfio mdev display devices Alex Williamson
2018-04-19 8:40 ` Gerd Hoffmann
2018-04-19 10:03 ` Zhenyu Wang
2018-04-19 14:20 ` Alex Williamson
2018-04-19 14:54 ` Paolo Bonzini
2018-04-23 21:40 ` Alex Williamson
2018-04-24 7:17 ` Gerd Hoffmann
2018-04-24 17:35 ` Alex Williamson
2018-04-25 9:49 ` Zhang, Tina
2018-04-24 19:50 ` Kirti Wankhede
2018-04-24 22:59 ` Alex Williamson
2018-04-25 15:30 ` Kirti Wankhede
2018-04-25 18:00 ` Alex Williamson
2018-04-25 19:52 ` Dr. David Alan Gilbert
2018-04-26 18:45 ` Kirti Wankhede
2018-04-26 18:55 ` Dr. David Alan Gilbert
2018-04-27 17:21 ` Alex Williamson
2018-05-03 18:58 ` [libvirt] Expose vfio device display/migration to libvirt and above, was " Alex Williamson
2018-05-04 7:49 ` Erik Skultety
2018-05-04 16:03 ` Alex Williamson
2018-05-07 6:25 ` Gerd Hoffmann
2018-07-20 4:56 ` Yuan, Hang
2018-08-08 7:43 ` Gerd Hoffmann
2018-05-10 11:00 ` Erik Skultety
2018-05-10 15:57 ` Alex Williamson
2018-05-04 9:16 ` Daniel P. Berrangé
2018-05-04 17:06 ` Alex Williamson
2018-05-07 6:15 ` Gerd Hoffmann
2018-05-04 8:39 ` [libvirt] " Erik Skultety
2018-04-26 3:44 ` Tian, Kevin
2018-04-26 6:14 ` Gerd Hoffmann
2018-04-26 15:44 ` Alex Williamson [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=20180426094445.2175df21@w520.home \
--to=alex.williamson@redhat.com \
--cc=eskultet@redhat.com \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=kevin.tian@intel.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=kwankhede@nvidia.com \
--cc=libvir-list@redhat.com \
--cc=tina.zhang@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).