From: Wei Liu Subject: Re: [PATCH] xl: create VFB for PV guest when VNC is specified Date: Mon, 16 Dec 2013 12:46:51 +0000 Message-ID: <20131216124651.GC12582@zion.uk.xensource.com> References: <1386968604-18562-1-git-send-email-wei.liu2@citrix.com> <21166.61246.681652.319751@mariner.uk.xensource.com> <20131216123835.GB12582@zion.uk.xensource.com> <21166.62861.670566.439643@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <21166.62861.670566.439643@mariner.uk.xensource.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 Jackson Cc: Wei Liu , Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Dec 16, 2013 at 12:43:57PM +0000, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH] xl: create VFB for PV guest when VNC is specified"): > > On Mon, Dec 16, 2013 at 12:17:02PM +0000, Ian Jackson wrote: > > > Missing error check. > > > > No call site ever error-checks this. Probably a separate patch to add > > error check to all of them? > > Maybe we should do something different. E.g., make all these > functions return void and stash the fact that there was an error away > somewhere, and provide and call a new "was the5re an error" function. > > That way if you write multiple errors in the file you get them > reported all at once. > IMHO this doesn't sound like 4.4 material, too big a patch for a bug fix... Wei. > Ian.