[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-4.2-testing] libxl: fix vfb related assertion problem when starting pv-domU
# HG changeset patch # User Ronny Hegewald <ronny.hegewald@xxxxxxxxx> # Date 1355409044 0 # Node ID bfdbf9747fc4eb8f76dea0b881ae1c4acc6da3a8 # Parent 02140822d8335b3d1c7fe8cfc64c777dfec863ea libxl: fix vfb related assertion problem when starting pv-domU When a config-file for a pv-domU has a vfb section with a vnc=0 option then a "xl create" for that domU crashes with the message xl: libxl.c:252: libxl_defbool_val: Assertion `!libxl_defbool_is_default(db)' failed. and the domU hangs early in the start. This patch fixes the cause of the assertion and let the domU start normally. This problem exists since xen 4.2. Signed-off-by: Ronny Hegewald <Ronny.Hegewald@xxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx> xen-unstable changeset: 26145:8b93ac0c93f3 Backport-requested-by: Ian Campbell <Ian.Campbell@xxxxxxxxxx> Committed-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- diff -r 02140822d833 -r bfdbf9747fc4 tools/libxl/libxl.c --- a/tools/libxl/libxl.c Wed Dec 12 11:19:40 2012 +0100 +++ b/tools/libxl/libxl.c Thu Dec 13 14:30:44 2012 +0000 @@ -3017,6 +3017,8 @@ int libxl__device_vfb_setdefault(libxl__ } libxl_defbool_setdefault(&vfb->vnc.findunused, true); + } else { + libxl_defbool_setdefault(&vfb->vnc.findunused, false); } libxl_defbool_setdefault(&vfb->sdl.enable, false); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |