From: Ian Jackson Date: Thu, 19 Aug 2010 17:10:43 +0000 (+0100) Subject: Allow -disable-opengl even if opengl support is not compiled in X-Git-Tag: xen-4.1.0-rc1~28 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1734e63891573d4729c71b5acc3b20eb637ad8fb;p=qemu-xen-4.1-testing.git Allow -disable-opengl even if opengl support is not compiled in Signed-off-by: Stefano Stabellini --- diff --git a/vl.c b/vl.c index ad8c0d02b..1673cd42a 100644 --- a/vl.c +++ b/vl.c @@ -4040,9 +4040,7 @@ static void help(int exitcode) "-alt-grab use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt)\n" "-no-quit disable SDL window close capability\n" "-sdl enable SDL\n" -#ifdef CONFIG_OPENGL "-disable-opengl disable OpenGL rendering, using SDL" -#endif #endif "-portrait rotate graphical output 90 deg left (only PXA LCD)\n" "-vga [std|cirrus|vmware|passthrough|none]\n" @@ -4447,9 +4445,7 @@ static const QEMUOption qemu_options[] = { { "d", HAS_ARG, QEMU_OPTION_domid }, /* deprecated; for xend compatibility */ { "domid", HAS_ARG, QEMU_OPTION_domid }, { "domain-name", 1, QEMU_OPTION_domainname }, -#ifdef CONFIG_OPENGL { "disable-opengl", 0, QEMU_OPTION_disable_opengl }, -#endif { "acpi", 0, QEMU_OPTION_acpi }, /* deprecated, for xend compatibility */ { "direct_pci", HAS_ARG, QEMU_OPTION_direct_pci }, { "gfx_passthru", 0, QEMU_OPTION_gfx_passthru},