[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] libxl: always set a default value for VFB.opengl
# HG changeset patch # User Ian Campbell <ian.campbell@xxxxxxxxxx> # Date 1331658396 0 # Node ID 02f4bbd949caa4b1d71cb9469b4ef0d6cd119c6d # Parent 8a81f2bfd7cc35e26709591df380f358faae1fbc libxl: always set a default value for VFB.opengl Fixes an assertion failure. Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Reported-by: Fantu <fantonifabio@xxxxxxxxxx> Tested-by: Fantu <fantonifabio@xxxxxxxxxx> Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r 8a81f2bfd7cc -r 02f4bbd949ca tools/libxl/libxl.c --- a/tools/libxl/libxl.c Tue Mar 13 16:26:20 2012 +0000 +++ b/tools/libxl/libxl.c Tue Mar 13 17:06:36 2012 +0000 @@ -2256,9 +2256,7 @@ } libxl_defbool_setdefault(&vfb->sdl.enable, false); - if (libxl_defbool_val(vfb->sdl.enable)) { - libxl_defbool_setdefault(&vfb->sdl.opengl, false); - } + libxl_defbool_setdefault(&vfb->sdl.opengl, false); return 0; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |