[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xl: support empty CDROM devices



Ian Campbell writes ("Re: [Xen-devel] [PATCH] xl: support empty CDROM devices"):
> On Wed, 2012-07-25 at 11:15 +0100, Ian Campbell wrote:
> > xend accepts ',hdc:cdrom,r'[0] as an empty CDROM drive however this is
> > not consistent with the xl syntax in
> > docs/misc/xl-disk-configuration.txt which
> > requires ',,hdc:cdrom,r' (the additional positional paramter is the
> > format).
> > I'm not sure if/how this can be fixed. Note that xend does not accept
> > ',,hdc:cdrom,r' 
> 
> This can be fixed with the following hack to the parser. Effectively it
> says that when target is given as a positional parameter and is blank
> then format is implicitly "empty" and must be omitted.

I don't like this because it will live with us for evermore.  We will
never be able to get rid of the weird wrinkle in the positional
syntax.

Maybe it would be better to do something ad hoc.  I have an idea which
I will try to implement...

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.