Skip to contentSkip to conversation

qemu-xen: Allow -disable-opengl even if opengl support is not compiled

PATCH In review Stefano Stabellini 2 participants 3 messages Aug 18, 2010 – Aug 19, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-xen: Allow -disable-opengl even if opengl support is not compiled

Allow -disable-opengl even if opengl support is not compiled

vl.c +0 -4
index ad8c0d0..1673cd4 100644
@@ -4040,10 +4040,8 @@ 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"
            "                select video card type\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},
#1 lore raw

Stefano Stabellini writes ("[Xen-devel] [PATCH] qemu-xen: Allow -disable-opengl even if opengl support is not compiled"):

Quoted 1 line

Allow -disable-opengl even if opengl support is not compiled

I take it this patch should precede or be combined with your change to fix the polarity of the xl opengl flag ?

Ian.

#2 lore raw
Quoted 6 lines · Ian Jackson

Stefano Stabellini writes ("[Xen-devel] [PATCH] qemu-xen: Allow -disable-opengl even if opengl support is not compiled"):

Quoted 1 line

Allow -disable-opengl even if opengl support is not compiled

I take it this patch should precede or be combined with your change to fix the polarity of the xl opengl flag ?

they are independent even though obviously related