WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] qemu-xen: Allow -disable-opengl even if opengl suppo

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] qemu-xen: Allow -disable-opengl even if opengl support is not compiled
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Wed, 18 Aug 2010 19:01:35 +0100
Delivery-date: Wed, 18 Aug 2010 11:02:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
Allow -disable-opengl even if opengl support is not compiled

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

diff --git a/vl.c b/vl.c
index ad8c0d0..1673cd4 100644
--- a/vl.c
+++ b/vl.c
@@ -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},

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>