ramfb: simple boot framebuffer, no legacy vga
v3 cover ramfb: simple boot framebuffer, no legacy vga
Hi,
Ok folks, here is a experimental patch series for a legacy free boot framebuffer. If you want play with it I recommend getting the bits from
https://www.kraxel.org/cgit/qemu/log/?h=sirius/ramfb
because they come with an updated seabios and a new vgabios rom and an experimental OVMF build.
Functional overview
-------------------
The boot framebuffer is expected to be configured by the firmware, so it uses fw_cfg as interface. Initialization goes as follows:
(1) Check whenever etc/ramfb is present.
(2) Allocate framebuffer from RAM.
(3) Fill struct RAMFBCfg, write it to etc/ramfb.
Done. You can write stuff to the framebuffer now, and it should appear automagically on the screen.
Note that this isn't very efficient because it does a full display update on each refresh. No dirty tracking. Dirty tracking would have to be active for the whole ram slot, so that wouldn't be very efficient either.
Firmware support -- seabios
---------------------------
seavgabios is able to emulate vga text mode on top of a framebuffer, for coreboot native graphics initialialization. Which works fine for everything which writes text using the vgabios interface (basically everyhing which works with sgabios).
So I hacked that up to work with ramfb (and, while being at it, bochs-display too). Right now it's proof-of-concept code with fwcfg support being cut+paste, so it'll need cleanups before merging. Look here:
https://www.kraxe.org/cgit/seabios/log/?h=bochs
Firmware support -- edk2
------------------------
There is a EFI driver too. Code is here:
https://github.com/kraxel/edk2/commits/ramfb
Firmware blob is in pc-bios/OVMF-ramfb.fd, to be used with -bios.
So, how to play?
----------------
There is ramfb. Standalone device.
There is virtio-ramfb. Simliar to virtio-vga, but using ramfb instead of adding vga compatibility. Shows how you can wire up ramfb support to some display device. Unlike virtio-vga it should work fine on arm. Use "qemu -vga none -device virtio-ramfb" for this one. Not clear whenever this will be actually be merged, given that edk2 has a native virtio-gpu driver.
There is virtio-pci-ramfb, which provides boot display support to vgpu devices.
What works?
-----------
Both windows (x86 tested) and linux (x86 + arm tested) UEFI guests handle the ramfb GOP just fine.
BIOS boot loaders for linux all use vgabios calls for text mode, so they show up just fine. Also ipxe, seabios itself of course. So you can boot up your linux guest. vesafb works too.
Windows in BIOS mode doesn't use text mode and works fine too.
What doesn't work?
------------------
vgacon (direct vga hardware access). Linux boots just fine nevertheless, the only effect is that you don't see any boot messages until the drm driver loads.
Known issues
------------
Handover from ramfb-backed efifb to the native linux driver is tricky. Usually efifb gets kicked out when the native driver loads because of overlapping ressources. With efifb being in RAM instead of using a GPU PCI bar this doesn't happen though, so you'll end up with two framebuffer devices.
In case vgaarb classifies the GPU as primary display device fbcon will switch all VTs over to the framebuffer device of the real GPU, so there isn't a noticable difference. Otherwise you'll end up with a non-visible fbcon, because it continues to run on ramfb whereas qemu switched over to the GPU because the native linux driver initialized the display.
xorg/wayland will show up on the GPU in any case because they prefer drm over fbdev, so they wouldn't run on efifb.
enjoy,
Gerd
Gerd Hoffmann (6):
hw/display: add ramfb, a simple boot framebuffer living in guest ram hw/display: add standalone ramfb device
hw/display: add virtio-ramfb device
hw/vfio/display: add ramfb support
ramfb: enable vgabios
bochs-display: enable vgabios
include/hw/display/ramfb.h | 12 ++++ include/hw/vfio/vfio-common.h | 2 + hw/arm/sysbus-fdt.c | 7 ++ hw/arm/virt.c | 2 + hw/display/bochs-display.c | 1 + hw/display/ramfb-standalone.c | 62 ++++++++++++++++++ hw/display/ramfb.c | 96 +++++++++++++++++++++++++++ hw/display/virtio-ramfb.c | 149 ++++++++++++++++++++++++++++++++++++++++++ hw/i386/pc_piix.c | 2 + hw/i386/pc_q35.c | 2 + hw/vfio/display.c | 10 +++ hw/vfio/pci.c | 15 +++++ hw/display/Makefile.objs | 5 +- 13 files changed, 364 insertions(+), 1 deletion(-) create mode 100644 include/hw/display/ramfb.h create mode 100644 hw/display/ramfb-standalone.c create mode 100644 hw/display/ramfb.c create mode 100644 hw/display/virtio-ramfb.c
Signature · 1 line
2.9.3
PATCH v3 1/6 hw/display: add ramfb, a simple boot framebuffer living in guest ram
The boot framebuffer is expected to be configured by the firmware, so it uses fw_cfg as interface. Initialization goes as follows:
(1) Check whenever etc/ramfb is present.
(2) Allocate framebuffer from RAM.
(3) Fill struct RAMFBCfg, write it to etc/ramfb.
Done. You can write stuff to the framebuffer now, and it should appear automagically on the screen.
Note that this isn't very efficient because it does a full display update on each refresh. No dirty tracking. Dirty tracking would have to be active for the whole ram slot, so that wouldn't be very efficient either. For a boot display which is active for a short time only this isn't a big deal. As permanent guest display something better should be used (if possible).
This is the ramfb core code. Some windup is needed for display devices which want have a ramfb boot display.
--- include/hw/display/ramfb.h | 9 +++++ hw/display/ramfb.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++ hw/display/Makefile.objs | 2 + 3 files changed, 106 insertions(+) create mode 100644 include/hw/display/ramfb.h create mode 100644 hw/display/ramfb.c
include/hw/display/ramfb.h new file +9 -0
@@ -0,0 +1,9 @@ +#ifndef RAMFB_H +#define RAMFB_H + +/* ramfb.c */ +typedef struct RAMFBState RAMFBState ; +void ramfb_display_update (QemuConsole *con,RAMFBState *s); +RAMFBState *ramfb_setup (Error **errp); + +#endif /* RAMFB_H */
hw/display/ramfb.c new file +95 -0
95 lines not on this page · raw message
hw/display/Makefile.objs +2 -0
@@ -1,3 +1,5 @@ +common-obj-y += ramfb.o + common-obj-$(CONFIG_ADS7846) += ads7846.o common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o common-obj-$(CONFIG_G364FB) += g364fb.o
Signature · 1 line
2.9.3
PATCH v3 2/6 hw/display: add standalone ramfb device
In reply to Gerd Hoffmann--- include/hw/display/ramfb.h | 3 +++ hw/arm/sysbus-fdt.c | 7 +++++ hw/arm/virt.c | 2 ++ hw/display/ramfb-standalone.c | 62 +++++++++++++++++++++++++++++++++++++++++++ hw/i386/pc_piix.c | 2 ++ hw/i386/pc_q35.c | 2 ++ hw/display/Makefile.objs | 1 + 7 files changed, 79 insertions(+) create mode 100644 hw/display/ramfb-standalone.c
include/hw/display/ramfb.h +3 -0
@@ -6,4 +6,7 @@ typedef struct RAMFBState RAMFBState;void ramfb_display_update (QemuConsole *con,RAMFBState *s);RAMFBState *ramfb_setup (Error **errp); +/* ramfb-standalone.c */ +#define TYPE_RAMFB_DEVICE "ramfb" +#endif /* RAMFB_H */
hw/arm/sysbus-fdt.c +7 -0
@@ -36,6 +36,7 @@#include "hw/vfio/vfio-platform.h" #include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h" +#include "hw/display/ramfb.h" #include "hw/arm/fdt.h" /*
@@ -406,12 +407,18 @@ static int add_amd_xgbe_fdt_node(SysBusDevice *sbdev, void *opaque)#endif /* CONFIG_LINUX */ +static int no_fdt_node (SysBusDevice *sbdev,void *opaque) +{ +return 0 ; +} +/* list of supported dynamic sysbus devices */ static const NodeCreationPair add_fdt_node_functions[] = { #ifdef CONFIG_LINUX {TYPE_VFIO_CALXEDA_XGMAC , add_calxeda_midway_xgmac_fdt_node}, {TYPE_VFIO_AMD_XGBE , add_amd_xgbe_fdt_node}, #endif + {TYPE_RAMFB_DEVICE , no_fdt_node}, {"" ,NULL },/* last element */ };
hw/arm/virt.c +2 -0
@@ -36,6 +36,7 @@#include "hw/arm/virt.h" #include "hw/vfio/vfio-calxeda-xgmac.h" #include "hw/vfio/vfio-amd-xgbe.h" +#include "hw/display/ramfb.h" #include "hw/devices.h" #include "net/net.h" #include "sysemu/device_tree.h"
@@ -1659,6 +1660,7 @@ static void virt_machine_class_init(ObjectClass *oc, void *data) mc->max_cpus =255 ;machine_class_allow_dynamic_sysbus_dev (mc,TYPE_VFIO_CALXEDA_XGMAC );machine_class_allow_dynamic_sysbus_dev (mc,TYPE_VFIO_AMD_XGBE ); +machine_class_allow_dynamic_sysbus_dev (mc,TYPE_RAMFB_DEVICE ); mc->block_default_type =IF_VIRTIO ; mc->no_cdrom =1 ; mc->pci_allow_0_address = true;
hw/display/ramfb-standalone.c new file +62 -0
62 lines not on this page · raw message
hw/i386/pc_piix.c +2 -0
@@ -28,6 +28,7 @@#include "hw/loader.h" #include "hw/i386/pc.h" #include "hw/i386/apic.h" +#include "hw/display/ramfb.h" #include "hw/smbios/smbios.h" #include "hw/pci/pci.h" #include "hw/pci/pci_ids.h"
@@ -423,6 +424,7 @@ static void pc_i440fx_machine_options(MachineClass *m) m->desc ="Standard PC (i440FX + PIIX, 1996)" ; m->default_machine_opts ="firmware=bios-256k.bin" ; m->default_display ="std" ; +machine_class_allow_dynamic_sysbus_dev (m,TYPE_RAMFB_DEVICE ); }static void pc_i440fx_3_0_machine_options (MachineClass *m)
hw/i386/pc_q35.c +2 -0
@@ -45,6 +45,7 @@#include "hw/i386/ich9.h" #include "hw/i386/amd_iommu.h" #include "hw/i386/intel_iommu.h" +#include "hw/display/ramfb.h" #include "hw/smbios/smbios.h" #include "hw/ide/pci.h" #include "hw/ide/ahci.h"
@@ -305,6 +306,7 @@ static void pc_q35_machine_options(MachineClass *m) m->no_floppy =1 ;machine_class_allow_dynamic_sysbus_dev (m,TYPE_AMD_IOMMU_DEVICE );machine_class_allow_dynamic_sysbus_dev (m,TYPE_INTEL_IOMMU_DEVICE ); +machine_class_allow_dynamic_sysbus_dev (m,TYPE_RAMFB_DEVICE ); m->max_cpus =288 ; }
hw/display/Makefile.objs +1 -0
@@ -1,4 +1,5 @@ common-obj-y += ramfb.o +common-obj-y += ramfb-standalone.o common-obj-$(CONFIG_ADS7846) += ads7846.o common-obj-$(CONFIG_VGA_CIRRUS) += cirrus_vga.o
Signature · 1 line
2.9.3
PATCH v3 3/6 hw/display: add virtio-ramfb device
In reply to Gerd HoffmannLike virtio-vga, but using ramfb instead of legacy vga.
Note: Not clear yet whenever this will be ever merged upstream.
No clear benefit, given that edk2 has a virtio-gpu driver which doesn't depend on the vga compatibility mode.
Will keeping it in the devel branch for now, for testing purposes and as playground.
--- hw/display/virtio-ramfb.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++ hw/display/Makefile.objs | 2 +- 2 files changed, 150 insertions(+), 1 deletion(-) create mode 100644 hw/display/virtio-ramfb.c
hw/display/virtio-ramfb.c new file +149 -0
@@ -0,0 +1,149 @@ +#include "qemu/osdep.h" +#include "hw/hw.h" +#include "hw/pci/pci.h" +#include "ui/console.h" +#include "hw/virtio/virtio-pci.h" +#include "hw/display/ramfb.h" +#include "qapi/error.h" + +/* +* virtio-ramfb: This extends VirtioPCIProxy. +*/ +#define TYPE_VIRTIO_RAMFB "virtio-ramfb" +#define VIRTIO_RAMFB (obj) \ + OBJECT_CHECK(VirtIORAMFB, (obj), TYPE_VIRTIO_RAMFB) + +typedef struct VirtIORAMFB { +VirtIOPCIProxy parent_obj; +VirtIOGPU vdev; +RAMFBState *ramfb; +}VirtIORAMFB ; + +static void virtio_ramfb_invalidate_display (void *opaque) +{ +VirtIORAMFB *vramfb = opaque; + +if (vramfb->vdev.enable) { + virtio_gpu_ops.invalidate (&vramfb->vdev); + } +} + +static void virtio_ramfb_update_display (void *opaque) +{ +VirtIORAMFB *vramfb = opaque; +VirtIOGPU *g = &vramfb->vdev; + +if (vramfb->vdev.enable) { + virtio_gpu_ops.gfx_update (&vramfb->vdev); + }else { +ramfb_display_update (g->scanout[0 ].con, vramfb->ramfb); + } +} + +static int virtio_ramfb_ui_info (void *opaque,uint32_t idx,QemuUIInfo *info) +{ +VirtIORAMFB *vramfb = opaque; + +if (virtio_gpu_ops.ui_info) { +return virtio_gpu_ops.ui_info (&vramfb->vdev, idx, info); + } +return -1 ; +} + +static void virtio_ramfb_gl_block (void *opaque,bool block) +{ +VirtIORAMFB *vramfb = opaque; + +if (virtio_gpu_ops.gl_block) { + virtio_gpu_ops.gl_block (&vramfb->vdev, block); + } +} + +static const GraphicHwOps virtio_ramfb_ops = { + .invalidate = virtio_ramfb_invalidate_display, + .gfx_update = virtio_ramfb_update_display, + .ui_info = virtio_ramfb_ui_info, + .gl_block = virtio_ramfb_gl_block, +}; + +static const VMStateDescription vmstate_virtio_ramfb = { + .name ="virtio-ramfb" , + .version_id =2 , + .minimum_version_id =2 , + .fields = (VMStateField []) { +/* no pci stuff here, saving the virtio device will handle that */ +/* FIXME */ +VMSTATE_END_OF_LIST () + } +}; + +/* RAMFB device wrapper around PCI device around virtio GPU */ +static void virtio_ramfb_realize (VirtIOPCIProxy *vpci_dev,Error **errp) +{ +VirtIORAMFB *vramfb =VIRTIO_RAMFB (vpci_dev); +VirtIOGPU *g = &vramfb->vdev; +Error *err =NULL ; +int i; + +/* init virtio bits */ +qdev_set_parent_bus (DEVICE (g),BUS (&vpci_dev->bus)); +virtio_pci_force_virtio_1 (vpci_dev); +object_property_set_bool (OBJECT (g), true,"realized" , &err); +if (err) { +error_propagate (errp, err); +return ; + } + +/* init ramfb */ + vramfb->ramfb =ramfb_setup (errp); +graphic_console_set_hwops (g->scanout[0 ].con, &virtio_ramfb_ops, vramfb); + +for (i =0 ; i < g->conf.max_outputs; i++) { +object_property_set_link (OBJECT (g->scanout[i].con), +OBJECT (vpci_dev), +"device" , errp); + } +} + +static Property virtio_ramfb_properties[] = { +DEFINE_VIRTIO_GPU_PCI_PROPERTIES (VirtIOPCIProxy), +DEFINE_PROP_END_OF_LIST (), +}; + +static void virtio_ramfb_class_init (ObjectClass *klass,void *data) +{ +DeviceClass *dc =DEVICE_CLASS (klass); +VirtioPCIClass *k =VIRTIO_PCI_CLASS (klass); +PCIDeviceClass *pcidev_k =PCI_DEVICE_CLASS (klass); + +set_bit (DEVICE_CATEGORY_DISPLAY , dc->categories); + dc->props = virtio_ramfb_properties; + dc->vmsd = &vmstate_virtio_ramfb; + dc->hotpluggable = false; + + k->realize = virtio_ramfb_realize; + pcidev_k->class_id =PCI_CLASS_DISPLAY_OTHER ; +} + +static void virtio_ramfb_inst_initfn (Object *obj) +{ +VirtIORAMFB *dev =VIRTIO_RAMFB (obj); + +virtio_instance_init_common (obj, &dev->vdev,sizeof (dev->vdev), +TYPE_VIRTIO_GPU ); +} + +static TypeInfo virtio_ramfb_info = { + .name =TYPE_VIRTIO_RAMFB , + .parent =TYPE_VIRTIO_PCI , + .instance_size =sizeof (struct VirtIORAMFB ), + .instance_init = virtio_ramfb_inst_initfn, + .class_init = virtio_ramfb_class_init, +}; + +static void virtio_ramfb_register_types (void ) +{ +type_register_static (&virtio_ramfb_info); +} + +type_init (virtio_ramfb_register_types)
hw/display/Makefile.objs +1 -1
@@ -40,7 +40,7 @@ obj-$(CONFIG_VGA) += vga.o common-obj-$(CONFIG_QXL) += qxl.o qxl-logger.o qxl-render.o obj-$(CONFIG_VIRTIO_GPU) += virtio-gpu.o virtio-gpu-3d.o -obj-$(call land,$(CONFIG_VIRTIO_GPU),$(CONFIG_VIRTIO_PCI)) += virtio-gpu-pci.o +obj-$(call land,$(CONFIG_VIRTIO_GPU),$(CONFIG_VIRTIO_PCI)) += virtio-gpu-pci.o virtio-ramfb.o obj-$(CONFIG_VIRTIO_VGA) += virtio-vga.o virtio-gpu.o-cflags := $(VIRGL_CFLAGS) virtio-gpu.o-libs += $(VIRGL_LIBS)
Signature · 1 line
2.9.3
PATCH v3 4/6 hw/vfio/display: add ramfb support
In reply to Gerd HoffmannSo we have a boot display when using a vgpu as primary display.
Use vfio-pci-ramfb instead of vfio-pci to enable it.
--- include/hw/vfio/vfio-common.h | 2 ++ hw/vfio/display.c | 10 ++++++++++ hw/vfio/pci.c | 15 +++++++++++++++ 3 files changed, 27 insertions(+)
include/hw/vfio/vfio-common.h +2 -0
@@ -26,6 +26,7 @@#include "qemu/queue.h" #include "qemu/notify.h" #include "ui/console.h" +#include "hw/display/ramfb.h" #ifdef CONFIG_LINUX #include <linux/vfio.h> #endif
@@ -143,6 +144,7 @@ typedef struct VFIODMABuf { typedef struct VFIODisplay { QemuConsole *con; + RAMFBState *ramfb; struct { VFIORegion buffer; DisplaySurface *surface;
hw/vfio/display.c +10 -0
@@ -124,6 +124,9 @@ static void vfio_display_dmabuf_update(void *opaque) primary =vfio_display_get_dmabuf (vdev,DRM_PLANE_TYPE_PRIMARY );if (primary ==NULL ) { +if (dpy->ramfb) { +ramfb_display_update (dpy->con, dpy->ramfb); + }return ; }
@@ -181,6 +184,8 @@ static int vfio_display_dmabuf_init(VFIOPCIDevice *vdev, Error **errp) vdev->dpy->con =graphic_console_init (DEVICE (vdev),0 , &vfio_display_dmabuf_ops, vdev); +if (strcmp (object_get_typename (OBJECT (vdev)),"vfio-pci-ramfb" ) ==0 ) + vdev->dpy->ramfb =ramfb_setup (errp);return 0 ; }
@@ -228,6 +233,9 @@ static void vfio_display_region_update(void *opaque)return ; }if (!plane.drm_format || !plane.size) { +if (dpy->ramfb) { +ramfb_display_update (dpy->con, dpy->ramfb); + }return ; } format =qemu_drm_format_to_pixman (plane.drm_format);
@@ -300,6 +308,8 @@ static int vfio_display_region_init(VFIOPCIDevice *vdev, Error **errp) vdev->dpy->con =graphic_console_init (DEVICE (vdev),0 , &vfio_display_region_ops, vdev); +if (strcmp (object_get_typename (OBJECT (vdev)),"vfio-pci-ramfb" ) ==0 ) + vdev->dpy->ramfb =ramfb_setup (errp);return 0 ; }
hw/vfio/pci.c +15 -0
@@ -3234,9 +3234,24 @@ static const TypeInfo vfio_pci_dev_info = { }, }; +static void vfio_pci_ramfb_dev_class_init (ObjectClass *klass,void *data) +{ +DeviceClass *dc =DEVICE_CLASS (klass); + + dc->hotpluggable = false; +} + +static const TypeInfo vfio_pci_ramfb_dev_info = { + .name ="vfio-pci-ramfb" , + .parent ="vfio-pci" , + .instance_size =sizeof (VFIOPCIDevice), + .class_init = vfio_pci_ramfb_dev_class_init, +}; +static void register_vfio_pci_dev_type (void ) {type_register_static (&vfio_pci_dev_info); +type_register_static (&vfio_pci_ramfb_dev_info); }type_init (register_vfio_pci_dev_type)
Signature · 1 line
2.9.3
PATCH v3 5/6 ramfb: enable vgabios
In reply to Gerd Hoffmann--- hw/display/ramfb.c | 1 + 1 file changed, 1 insertion(+)
hw/display/ramfb.c +1 -0
@@ -88,6 +88,7 @@ RAMFBState *ramfb_setup(Error **errp) s =g_new0 (RAMFBState,1 ); +rom_add_vga ("vgabios-ramfb.bin" );fw_cfg_add_file_callback (fw_cfg,"etc/ramfb" ,NULL , ramfb_fw_cfg_write, s, &s->cfg,sizeof (s->cfg), false);
Signature · 1 line
2.9.3
PATCH v3 6/6 bochs-display: enable vgabios
In reply to Gerd Hoffmann--- hw/display/bochs-display.c | 1 + 1 file changed, 1 insertion(+)
hw/display/bochs-display.c +1 -0
@@ -337,6 +337,7 @@ static void bochs_display_class_init(ObjectClass *klass, void *data) k->device_id =PCI_DEVICE_ID_QEMU_VGA ; k->realize = bochs_display_realize; + k->romfile ="vgabios-bochs-display.bin" ; k->exit = bochs_display_exit; dc->vmsd = &vmstate_bochs_display; dc->props = bochs_display_properties;
Signature · 1 line
2.9.3
This series seems to have some coding style problems. See output below for more information:
Hi,
This series seems to have some coding style problems. See output below for more information:
Type: series
Message-id: [email protected]
Subject: [Qemu-devel] [PATCH v3 0/6] ramfb: simple boot framebuffer, no legacy vga
=== TEST SCRIPT BEGIN ===
#!/bin/bash
BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0
git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram
commits="$(git log --format=%H --reverse $BASE..)" for c in $commits; do
echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
failed=1
echo
fi
n=$((n+1))done
exit $failed
=== TEST SCRIPT END ===
Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
a674da0ab7..bac5ba3dc5 master -> master
* [new tag] patchew/[email protected] -> patchew/[email protected]
Switched to a new branch 'test'b3b768bdcf bochs-display: enable vgabiosbe08ed14be ramfb: enable vgabiosf2f2069625 hw/vfio/display: add ramfb support717edb2f4d hw/display: add virtio-ramfb devicecfb87c9b3b hw/display: add standalone ramfb deviceadd39ce518 hw/display: add ramfb, a simple boot framebuffer living in guest ram
=== OUTPUT BEGIN ===
Checking PATCH 1/6: hw/display: add ramfb, a simple boot framebuffer living in guest ram...
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #41:
new file mode 100644
total: 0 errors, 1 warnings, 109 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 2/6: hw/display: add standalone ramfb device...
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #71:
new file mode 100644
total: 0 errors, 1 warnings, 141 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 3/6: hw/display: add virtio-ramfb device...
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating? #32:
new file mode 100644
total: 0 errors, 1 warnings, 157 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 4/6: hw/vfio/display: add ramfb support...
ERROR: braces {} are necessary for all arms of this statement #31: FILE: hw/vfio/display.c:187:
+ if (strcmp(object_get_typename(OBJECT(vdev)), "vfio-pci-ramfb") == 0)
[...]
ERROR: braces {} are necessary for all arms of this statement #50: FILE: hw/vfio/display.c:311:
+ if (strcmp(object_get_typename(OBJECT(vdev)), "vfio-pci-ramfb") == 0)
[...]
total: 2 errors, 0 warnings, 72 lines checked
Your patch has style problems, please review. If any of these errors are false positives report them to the maintainer, see CHECKPATCH in MAINTAINERS.
Checking PATCH 5/6: ramfb: enable vgabios... Checking PATCH 6/6: bochs-display: enable vgabios... === OUTPUT END ===
Test command exited with code: 1
---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to [email protected]