On Wed, 25 Apr 2018 07:40:12 +0200 Gerd Hoffmann <kraxel@xxxxxxxxxx> wrote: > This little series adds three drivers, for demo-ing and testing vfio > display interface code. There is one mdev device for each interface > type (mdpy.ko for region and mbochs.ko for dmabuf). > > mdpy-fb.ko is guest driver for mdpy.ko (guest driver is not required, > without guest driver mdpy.ko simply shows a static test image). > > mbochs.ko is compatible with bochs-drm.ko on the guest side. > > v2: > - all: various codestyle / checkpatch cleanups. > - mdpy-fb: use pci_info() & friends. > - mdpy,mbochs: add read/write support for memory bars. > - mdpy: get a pci id from qemu range, use that. > - mdpy: wrap pci config space registers into vandor capability. > > Gerd Hoffmann (3): > sample: vfio mdev display - host device > sample: vfio mdev display - guest driver > sample: vfio bochs vbe display (host device for bochs-drm) > > samples/vfio-mdev/mdpy-defs.h | 22 + > samples/vfio-mdev/mbochs.c | 1406 +++++++++++++++++++++++++++++++++++++++++ > samples/vfio-mdev/mdpy-fb.c | 232 +++++++ > samples/vfio-mdev/mdpy.c | 807 +++++++++++++++++++++++ > samples/Kconfig | 30 + > samples/vfio-mdev/Makefile | 3 + > 6 files changed, 2500 insertions(+) > create mode 100644 samples/vfio-mdev/mdpy-defs.h > create mode 100644 samples/vfio-mdev/mbochs.c > create mode 100644 samples/vfio-mdev/mdpy-fb.c > create mode 100644 samples/vfio-mdev/mdpy.c > Applied to next branch for v4.18, Thanks Gerd! Alex