WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xl: Special case tap/aio for disk validation

Ian Campbell writes ("Re: [Xen-devel] [PATCH] xl: Special case tap/aio for disk 
validation"):
> FWIW xend notices a relative path and wacks a "/dev/" on the front.

Oh dear.  So is the syntax
   some:pile:of:useless:prefixes:sponge
allowed to mean /dev/sponge ?  What if you want to refer to
/dev/sponge:1 ?  I guess that probably doesn't work right now.

So the right algorithm is:
   - rhs starts with '/': it's a pathname
   - rhs has a colon: it's a prefix
   - rhs has neither: hope it's a pathname in /dev
?

> Shall we pre-deprecate the someprefix: along with all the
> tap:{aio,ioemu,FOO}: stuff while we are at this? IOW the syntax we want
> to actually support going forward would be:
>       (raw|vhd|qcow2|qcow):/path/to/something
> with the toolstack being at liberty to best decide how to achieve the
> necessary format support? (optionally raw: as the default). All the rest
> of the format is really semantically meaningless and supported only for
> compatibility with existing configuration files.

Yes.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel