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-changelog

[Xen-changelog] [xen-unstable] libxl: Disable opengl if info->opengl ==

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] libxl: Disable opengl if info->opengl == 0 (correct sense of test)
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Aug 2010 03:30:57 -0700
Delivery-date: Thu, 26 Aug 2010 03:34:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
# Date 1282238144 -3600
# Node ID aab4938edd9c61f00c68d28daf477014a8d0a2a1
# Parent  a2dd0f1b1c609d521b1a3740cdc9f0b3ea20e697
libxl: Disable opengl if info->opengl == 0 (correct sense of test)

Disable opengl if info->opengl == 0

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/libxl/libxl.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r a2dd0f1b1c60 -r aab4938edd9c tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Thu Aug 19 18:13:01 2010 +0100
+++ b/tools/libxl/libxl.c       Thu Aug 19 18:15:44 2010 +0100
@@ -1129,7 +1129,7 @@ static char ** libxl_build_device_model_
     }
     if (info->sdl) {
         flexarray_set(dm_args, num++, "-sdl");
-        if (info->opengl) {
+        if (!info->opengl) {
             flexarray_set(dm_args, num++, "-disable-opengl");
         }
     }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] libxl: Disable opengl if info->opengl == 0 (correct sense of test), Xen patchbot-unstable <=