RFC: drm/virtio: Dummy virtio GPU

lepton ytht.net at gmail.com
Wed Apr 15 01:48:05 UTC 2020


On Fri, Mar 27, 2020 at 1:20 AM Gerd Hoffmann <kraxel at redhat.com> wrote:
>
> > > Hmm, yes, I can see loopback virtio being useful for various cases.
> > > Testing being one.  A dummy virtio-gpu could be done too, or a more
> > > advanced version which exports the display as vnc.
> > So what's your suggestion on this? Changing this to drivers/virtio dir
> > and then add some user space api?  I am thinking about introducing a new
> > /dev/dummy-virtio, then user space can open it, use ioctl to create new virtio
> > hardware, and can handle the virtio traffic with read/write to simulate the
> > different virtio hardware.
>
> Yep, sounds useful.  You might want check out the uinput driver which
> does something simliar for input devices.  I wouldn't name this dummy,
> maybe uvirtio.
>
> cheers,
>   Gerd
>
Add back mail list so other people can follow.


More information about the dri-devel mailing list