summaryrefslogtreecommitdiffstats
path: root/samples/vfio-mdev/mdpy.c
Commit message (Collapse)AuthorAgeFilesLines
* samples/vfio-mdev/mdpy: expand minor range when registering chrdev regionChengguang Xu2019-02-121-4/+4
| | | | | | | | | Actually, total amount of available minor number for a single major is MINORMARK + 1. So expand minor range when registering chrdev region. Signed-off-by: Chengguang Xu <cgxu519@gmx.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
* sample: vfio mdev display - host deviceGerd Hoffmann2018-06-081-0/+807
Simple framebuffer display, demo-ing the vfio region display interface (VFIO_GFX_PLANE_TYPE_REGION). Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>