]> xenbits.xensource.com Git - qemu-xen-4.3-testing.git/commitdiff
Allow -disable-opengl even if opengl support is not compiled in
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 19 Aug 2010 17:10:43 +0000 (18:10 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Thu, 19 Aug 2010 17:10:43 +0000 (18:10 +0100)
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
vl.c

diff --git a/vl.c b/vl.c
index ad8c0d02b62f0a3b0c4ea0ca5624c9c336f29c2c..1673cd42a940f1959b9e4831e2a551cd20c009a3 100644 (file)
--- 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},