Build VFIO mdpy example mediated device sample code

modulename: mdpy.ko

configname: CONFIG_SAMPLE_VFIO_MDEV_MDPY

Linux Kernel Configuration
└─>Kernel hacking
└─>Sample kernel code
└─>Build VFIO mdpy example mediated device sample code
In linux kernel since version 3.10 (release Date: 2013-06-30)  
Build a virtual display sample driver for use as a VFIO
mediated device. It is a simple framebuffer and supports
the region display interface (VFIO_GFX_PLANE_TYPE_REGION).

source code: