Mailing List Archive

[xen-unstable] xl: ignore opengl unless sdl is enabled
# HG changeset patch
# User Keir Fraser <keir.fraser@citrix.com>
# Date 1273479718 -3600
# Node ID 3b6e33ebb57b670a48ad138aecb47cbd32a4e986
# Parent bbf009817ffbe15a7cbbda8bddd82640f290ce0c
xl: ignore opengl unless sdl is enabled

The "opengl" setting is documented as having no effect unless "sdl" is
set. Make sure this is honoured.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
tools/libxl/libxl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

diff -r bbf009817ffb -r 3b6e33ebb57b tools/libxl/libxl.c
--- a/tools/libxl/libxl.c Fri May 07 19:22:28 2010 +0100
+++ b/tools/libxl/libxl.c Mon May 10 09:21:58 2010 +0100
@@ -818,7 +818,7 @@ static char ** libxl_build_device_model_
flexarray_set(dm_args, num++, "-vncunused");
}
}
- if (info->sdl || info->opengl) {
+ if (info->sdl) {
flexarray_set(dm_args, num++, "-sdl");
if (info->opengl) {
flexarray_set(dm_args, num++, "-disable-opengl");

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