From: Ian Campbell Subject: Re: [PATCH 1/2] libxl: move check for existence of qemuu device model Date: Tue, 5 Mar 2013 16:03:01 +0000 Message-ID: <1362499381.8941.71.camel@hastur.hellion.org.uk> References: <1359027839.17440.130.camel@zakaz.uk.xensource.com> <1362159712-26589-2-git-send-email-ian.jackson@eu.citrix.com> <1362196601.4198.33.camel@hastur.hellion.org.uk> <20788.34976.694696.678874@mariner.uk.xensource.com> <1362456214.8941.26.camel@hastur.hellion.org.uk> <20789.54628.233596.892547@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20789.54628.233596.892547@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: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org On Tue, 2013-03-05 at 11:22 +0000, Ian Jackson wrote: > Ian Campbell writes ("Re: [Xen-devel] [PATCH 1/2] libxl: move check for existence of qemuu device model"): > > On Mon, 2013-03-04 at 11:42 +0000, Ian Jackson wrote: > > > No, because the whole thing is in an if which applies only if we're > > > trying to use ..._QEMU_XEN. > > > > Oh, right. I combined the tow patches wrongly in my head. > > > > Don't we also want to check for the presence of the trad binary though? > > AIUI the trad binary is always built ? By us it is, but e.g. Debian's packaging has been known to omit it, or the user may have overridden the path but made a typo. > AIUI there is a possibility > that the new one isn't ? And that was the rationale for this check ? > > CCing Stefano. > > > > > On a related note we could do with stating the device model even in the > > > > case where the user has specified device_model_version explicitly, to > > > > give better error reporting in that case too. > > > > > > You mean logging it ? > > > > Actually I meant "not trying to start the guest regardless and returning > > success", which AIUI is what happens... Logging would be nice too > > though. > > Oh I see. TBH once we start to think about these kinds of > installation problems it's difficult to see where we'll stop. This is one which has been tripping people up in practice.