From: Ian Campbell Subject: Re: libxl_device.c, stat() and remote disks Date: Mon, 22 Apr 2013 15:36:11 +0100 Message-ID: <1366641371.22143.68.camel@zakaz.uk.xensource.com> References: <5175440D.8060201@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5175440D.8060201@eu.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: David Scott Cc: xen-devel List-Id: xen-devel@lists.xenproject.org On Mon, 2013-04-22 at 15:07 +0100, David Scott wrote: > Is it safe to remove the stat() from libxl_device.c? I expect it only makes sense when backendtype=phy and perhaps the disk->script check has served as an imperfect surrogate for that until now? Does changing } else if (!disk->script) { into } else if (disk->backendtype == ...PHY && !disk->script) { Work for you also? Ian.