[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/6] stubs: add ramfb
From: |
Alex Williamson |
Subject: |
[Qemu-devel] [PULL 1/6] stubs: add ramfb |
Date: |
Mon, 15 Oct 2018 11:36:37 -0600 |
User-agent: |
StGit/0.18-136-gffd7-dirty |
From: Gerd Hoffmann <address@hidden>
Needed to make sure code using ramfb (vfio) compiles properly even on
platforms without fw_cfg (and therefore no ramfb) support.
Signed-off-by: Gerd Hoffmann <address@hidden>
Signed-off-by: Alex Williamson <address@hidden>
---
stubs/Makefile.objs | 1 +
stubs/ramfb.c | 13 +++++++++++++
2 files changed, 14 insertions(+)
create mode 100644 stubs/ramfb.c
diff --git a/stubs/Makefile.objs b/stubs/Makefile.objs
index 53d3f32cb258..5dd0aeeec69c 100644
--- a/stubs/Makefile.objs
+++ b/stubs/Makefile.objs
@@ -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
diff --git a/stubs/ramfb.c b/stubs/ramfb.c
new file mode 100644
index 000000000000..48143f33542f
--- /dev/null
+++ b/stubs/ramfb.c
@@ -0,0 +1,13 @@
+#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;
+}
- [Qemu-devel] [PULL 0/6] vfio updates 2018-10-15, Alex Williamson, 2018/10/15
- [Qemu-devel] [PULL 1/6] stubs: add ramfb,
Alex Williamson <=
- [Qemu-devel] [PULL 2/6] hw/vfio/display: add ramfb support, Alex Williamson, 2018/10/15
- [Qemu-devel] [PULL 3/6] vfio/platform: Make the vfio-platform device non-abstract, Alex Williamson, 2018/10/15
- [Qemu-devel] [PULL 5/6] hw/arm/virt: Allow dynamic vfio-platform devices again, Alex Williamson, 2018/10/15
- [Qemu-devel] [PULL 4/6] hw/arm/sysbus-fdt: Allow device matching with DT compatible value, Alex Williamson, 2018/10/15
- [Qemu-devel] [PULL 6/6] vfio-pci: make vfio-pci device more QOM conventional, Alex Williamson, 2018/10/15
- Re: [Qemu-devel] [PULL 0/6] vfio updates 2018-10-15, Peter Maydell, 2018/10/16