From: Ian Jackson Subject: [PATCH 0/2] xl: handle empty xl cdrom devices in xend syntax Date: Wed, 25 Jul 2012 16:21:01 +0100 Message-ID: <20496.3805.714321.419012@mariner.uk.xensource.com> References: <576aeedaca777236db87.1343211308@cosworth.uk.xensource.com> <1343212345.18971.69.camel@zakaz.uk.xensource.com> <20495.52931.287117.538691@mariner.uk.xensource.com> <1343213602.18971.79.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1343213602.18971.79.camel@zakaz.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 Campbell Cc: "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] [PATCH] xl: support empty CDROM devices"): > On Wed, 2012-07-25 at 11:47 +0100, Ian Jackson wrote: > > Maybe it would be better to do something ad hoc. I have an idea which > > I will try to implement... > > OK. This seems to have worked. Here is the result. This patch - contains a copy of some your empty disk format tests - when applied to -unstable only passes the tests if your + if (!disk->pdev_path || !strcmp(disk->pdev_path, "")) + disk->format = LIBXL_DISK_FORMAT_EMPTY; is included and the references to the `empty' disks are commented out from check-xl-disk-parse. Did you want me to merge it properly with yours ? Ian.