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/
Home Products Support Community News


Re: [Xen-devel] xl block-attach

On Mon, 2011-01-31 at 16:45 +0000, Kamala Narasimhan wrote:
> From the above it is not very evident what is acceptable for BackDev
> and FrontDev.  So I looked at the code that parses these input (in
> xl).  It takes backdev and looks for pdev type ('phy' or 'file' or
> 'tap') and if tap, looks for 'aio' or 'vhd' or 'qcow' or 'qcow2' (here
> it is mixing format with backend impl type) followed by pdev path.
> It then takes frontdev and interprets it to be vdev path and then it
> interprets mode to be read or write attribute.

Possible implementation bugs and lack of code reuse aside it sounds as
if the intention was to support the same stuff as the configuration

> We could still keep the higher level arguments as is but our parser
> could interpret BackDev and FrontDev values the way it does for config
> file option. 

That sounds sensible to me.


Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>