From: Ian Jackson Subject: Re: [PATCH v2 for-4.6] libxl: handle read-only drives with qemu-xen Date: Wed, 16 Sep 2015 14:54:50 +0100 Message-ID: <22009.29866.235485.172892@mariner.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZcDBC-00087P-1y for xen-devel@lists.xenproject.org; Wed, 16 Sep 2015 13:55:22 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: M A Young Cc: Ian.Campbell@eu.citrix.com, xen-devel@lists.xenproject.org, wei.liu2@citrix.com, Stefano Stabellini List-Id: xen-devel@lists.xenproject.org M A Young writes ("Re: [PATCH v2 for-4.6] libxl: handle read-only drives with qemu-xen"): > On Tue, 15 Sep 2015, Stefano Stabellini wrote: > Is ERROR_INVAL the right error to return? I get > > libxl_dm.c: In function 'libxl__build_device_model_args_new': > libxl_dm.c:807:28: error: return makes pointer from integer without a cast > [-Werror=int-conversion] > return ERROR_INVAL; > ^ > cc1: all warnings being treated as errors Yikes. > when I try to build xen with the proposed patch. NULL is returned when > there is a problem in other places in this function. Clearly not. Stefano, do you want to respin ? Ian.