Stefano Stabellini
2010-Aug-18 17:57 UTC
[Xen-devel] [PATCH] libxl: Disable opengl if info->opengl == 0
Disable opengl if info->opengl == 0
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
diff -r 6bd04080ab99 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Wed Aug 18 18:06:10 2010 +0100
+++ b/tools/libxl/libxl.c Wed Aug 18 18:56:35 2010 +0100
@@ -1104,7 +1104,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-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel