qemu-patch-raspberry4/include/hw/vfio
Gerd Hoffmann b290659fc3 hw/vfio/display: add ramfb support
So we have a boot display when using a vgpu as primary display.

ramfb depends on a fw_cfg file.  fw_cfg files can not be added and
removed at runtime, therefore a ramfb-enabled vfio device can't be
hotplugged.

Add a nohotplug variant of the vfio-pci device (as child class).  Add
the ramfb property to the nohotplug variant only.  So to enable the vgpu
display with boot support use this:

  -device vfio-pci-nohotplug,display=on,ramfb=on,sysfsdev=...

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2018-10-15 10:52:09 -06:00
..
vfio-amd-xgbe.h hw/vfio/platform: amd-xgbe device 2016-02-19 09:42:29 -07:00
vfio-calxeda-xgmac.h hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
vfio-common.h hw/vfio/display: add ramfb support 2018-10-15 10:52:09 -06:00
vfio-platform.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
vfio.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00