On Thu, Apr 26, 2018 at 05:31:48PM +0200, Gerd Hoffmann wrote: > On Thu, Apr 26, 2018 at 06:10:48PM +0300, Michael S. Tsirkin wrote: > > On Tue, Apr 24, 2018 at 08:38:57AM +0200, Gerd Hoffmann wrote: > > > mdpy is a sample pci device for vfio-mdev. Not (yet) merged upstream, > > > patch available here: > > > > > > https://www.kraxel.org/cgit/linux/commit/?h=vfio-sample-display&id=6fd86cff3d7df38ab89625b16fdd6434b1c18749 > > > > > > Cc: Alex Williamson <alex.william...@redhat.com> > > > Signed-off-by: Gerd Hoffmann <kra...@redhat.com> > > > > Reviewed-by: Michael S. Tsirkin <m...@redhat.com> > > > > I presume this should be merged together with the > > device implementation in qemu, or do you want this > > in tree sooner? > > There isn't a device implementation in qemu. It's a mdev device > provided by the kernel. Can be used with qemu using vfio. > > cheers, > Gerd
Why do we need a define in pci.h then? -- MST