QEMU's ramfb is a very simple Qemu fw_cfg protocol, where the guest need only write a video settings structure to /etc/ramfb to get DMA from the framebuffer working. Add a driver for this on top of a newly added character device interface. Adrian Negreanu (1): video: add support for QEMU ramfb Ahmad Fatoum (3): fs: devfs: implement cdev_fdopen asm-generic: avoid compiler warnings due to PCI_IOBASE firmware: add QEMU FW CFG driver drivers/firmware/Kconfig | 10 + drivers/firmware/Makefile | 1 + drivers/firmware/qemu_fw_cfg.c | 307 +++++++++++++++++++++++++++++++ drivers/video/Kconfig | 6 + drivers/video/Makefile | 1 + drivers/video/ramfb.c | 191 +++++++++++++++++++ fs/devfs-core.c | 20 ++ include/asm-generic/io.h | 3 +- include/driver.h | 1 + include/filetype.h | 1 + include/uapi/linux/qemu_fw_cfg.h | 100 ++++++++++ 11 files changed, 640 insertions(+), 1 deletion(-) create mode 100644 drivers/firmware/qemu_fw_cfg.c create mode 100644 drivers/video/ramfb.c create mode 100644 include/uapi/linux/qemu_fw_cfg.h -- 2.38.1