From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH] libxl: initialize vfb defbools in libxlMakeVfb Date: Mon, 20 Apr 2015 12:32:10 +0200 Message-ID: <20150420103210.GA17676@aepfle.de> References: <1429291171-23640-1-git-send-email-olaf@aepfle.de> <553161CA.2090906@suse.com> <1429519143.25195.363.camel@citrix.com> <20150420093239.GA14169@aepfle.de> <1429523010.25195.397.camel@citrix.com> <20150420102009.GA16540@aepfle.de> <1429525504.25195.402.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1429525504.25195.402.camel@citrix.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: Ian Campbell Cc: libvir-list@redhat.com, Jim Fehlig , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Apr 20, Ian Campbell wrote: > It makes no sense to do that at init time, the whole purpose of a > defbool is to allow the calling application to choose a value or to > explicitly leave it as a request to for the default (which might vary > depending on other selections). Yes, and thats why my patch does? libxl_device_vfb_init(x_vfb); +libxl_defbool_set(&x_vfb->sdl.opengl, 0); if (libxl_defbool_val(vfb.sdl.opengl)) ; Olaf