aboutsummaryrefslogtreecommitdiff
path: root/stubs
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-10-09 10:32:47 +0400
committerCédric Le Goater <clg@redhat.com>2023-10-18 10:10:49 +0200
commit8741781157f09a9f79bb652f8a0210d40f814cd0 (patch)
treea240a40b2055287e3110615b7719edce00723983 /stubs
parenta1e88d2d2b89ad6371036aa07f7e96947786c873 (diff)
hw/vfio: add ramfb migration support
Add a "VFIODisplay" subsection whenever "x-ramfb-migrate" is turned on. Turn it off by default on machines <= 8.1 for compatibility reasons. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> [ clg: - checkpatch fixes - improved warn_report() in vfio_realize() ] Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'stubs')
-rw-r--r--stubs/ramfb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stubs/ramfb.c b/stubs/ramfb.c
index 48143f3354..cf64733b10 100644
--- a/stubs/ramfb.c
+++ b/stubs/ramfb.c
@@ -2,6 +2,8 @@
#include "qapi/error.h"
#include "hw/display/ramfb.h"
+const VMStateDescription ramfb_vmstate = {};
+
void ramfb_display_update(QemuConsole *con, RAMFBState *s)
{
}