From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: [PATCH] xl: ignore opengl unless sdl is enabled Date: Fri, 07 May 2010 15:26:39 -0700 Message-ID: <4BE4939F.5040102@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: Ian Jackson , Xen-devel , Vincent Hanquez List-Id: xen-devel@lists.xenproject.org The "opengl" setting is documented as having no effect unless "sdl" is set. Make sure this is honoured. Signed-off-by: Jeremy Fitzhardinge diff -r fbd06034bd92 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Fri May 07 15:24:26 2010 -0700 +++ b/tools/libxl/libxl.c Fri May 07 15:25:09 2010 -0700 @@ -819,7 +819,7 @@ 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");