From: Ian Campbell Subject: Re: [PATCH 2/2] xl: support xend empty cdrom device syntax Date: Wed, 25 Jul 2012 16:41:17 +0100 Message-ID: <1343230877.18971.126.camel@zakaz.uk.xensource.com> References: <20496.3805.714321.419012@mariner.uk.xensource.com> <1343229753-30537-2-git-send-email-ian.jackson@eu.citrix.com> <1343230314.18971.120.camel@zakaz.uk.xensource.com> <20496.4767.463958.870216@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20496.4767.463958.870216@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.xen.org" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-07-25 at 16:37 +0100, Ian Jackson wrote: > Ian Campbell writes ("Re: [PATCH 2/2] xl: support xend empty cdrom device syntax"): > > On Wed, 2012-07-25 at 16:22 +0100, Ian Jackson wrote: > > > +This is soley for compatibility with xend's syntax for empty cdroms, > > > +which is (for example) ",hdc:cdrom,r". > > > > Perhaps we should tighten the special case to specifically only > > accept ,:cdrom, ? (and actually as it happens has > > to be "r" too) > > I don't think that's necessary. We don't intend to introduce any > formats containing `:' so no ambiguity is introduced. > > > Also perhaps it would be useful to always give the mapping to the > > non-deprecated syntax? > > You mean to write the non-deprecated syntax in the document ? e.g.: The following syntax is also supported: ,:, (deprecated) This is soley for compatibility with xend's syntax for empty cdroms, which is (for example) ",hdc:cdrom,r". +The non-deprecated syntax is: + + ,,:, or whatever the most preferable non-deprecated version is. Basically it gives a no-brainer way to update your syntax. BTW my MUA's spell checker thinks you meant solely. Ian.