aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2018-03-01 11:05:39 +0100
committerGerd Hoffmann <kraxel@redhat.com>2018-03-05 08:44:11 +0100
commit16ab0a74e44300add9a7966e6f4f95ed4c0e833e (patch)
treed892594e4518d7cfe0bf24512918f9939d464710 /vl.c
parentb0766612d16da185a822636cf54214123e8038cf (diff)
downloadqemu-16ab0a74e44300add9a7966e6f4f95ed4c0e833e.zip
qemu-16ab0a74e44300add9a7966e6f4f95ed4c0e833e.tar.gz
qemu-16ab0a74e44300add9a7966e6f4f95ed4c0e833e.tar.bz2
egl-headless: switch over to new display registry
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Message-id: 20180301100547.18962-6-kraxel@redhat.com
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/vl.c b/vl.c
index 5b2fca8..93fc841 100644
--- a/vl.c
+++ b/vl.c
@@ -2160,13 +2160,7 @@ static void parse_display(const char *p)
exit(1);
}
} else if (strstart(p, "egl-headless", &opts)) {
-#ifdef CONFIG_OPENGL_DMABUF
- display_opengl = 1;
dpy.type = DISPLAY_TYPE_EGL_HEADLESS;
-#else
- error_report("egl support is disabled");
- exit(1);
-#endif
} else if (strstart(p, "curses", &opts)) {
dpy.type = DISPLAY_TYPE_CURSES;
} else if (strstart(p, "gtk", &opts)) {
@@ -4672,12 +4666,6 @@ int main(int argc, char **argv, char **envp)
qemu_spice_display_init();
}
-#ifdef CONFIG_OPENGL_DMABUF
- if (dpy.type == DISPLAY_TYPE_EGL_HEADLESS) {
- egl_headless_init(&dpy);
- }
-#endif
-
if (foreach_device_config(DEV_GDB, gdbserver_start) < 0) {
exit(1);
}