Commit 7f623d08 authored by Gerd Hoffmann's avatar Gerd Hoffmann Committed by Alex Williamson
Browse files

stubs: add ramfb



Needed to make sure code using ramfb (vfio) compiles properly even on
platforms without fw_cfg (and therefore no ramfb) support.

Signed-off-by: default avatarGerd Hoffmann <kraxel@redhat.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent ff56877e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -43,3 +43,4 @@ stub-obj-y += xen-common.o
stub-obj-y += xen-hvm.o
stub-obj-y += pci-host-piix.o
stub-obj-y += ram-block.o
stub-obj-y += ramfb.o

stubs/ramfb.c

0 → 100644
+13 −0
Original line number Diff line number Diff line
#include "qemu/osdep.h"
#include "qapi/error.h"
#include "hw/display/ramfb.h"

void ramfb_display_update(QemuConsole *con, RAMFBState *s)
{
}

RAMFBState *ramfb_setup(Error **errp)
{
    error_setg(errp, "ramfb support not available");
    return NULL;
}