From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] libxl: initialize vfb defbools in libxlMakeVfb Date: Sat, 18 Apr 2015 08:47:23 +0200 Message-ID: <20150418064723.GA2488__20295.4659973786$1429339800$gmane$org@aepfle.de> References: <1429291171-23640-1-git-send-email-olaf@aepfle.de> <553161CA.2090906@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <553161CA.2090906@suse.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jim Fehlig Cc: libvir-list@redhat.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Fri, Apr 17, Jim Fehlig wrote: > On 04/17/2015 11:19 AM, Olaf Hering wrote: > >+ libxl_defbool_set(&x_vfb->vnc.enable, 0); > Not shown here, but just before the switch is > > libxl_device_vfb_init(x_vfb); > > which IIUC (looking at the impl in $xensrc/tools/libxl/_libxl_types.c) > should initialize the vfb struct with default values. Yes, but the default values lead to the assert. Olaf