From: Ian Campbell Subject: Re: xl block-attach Date: Mon, 31 Jan 2011 15:22:59 +0000 Message-ID: <1296487379.4037.67.camel@zakaz.uk.xensource.com> References: <4D45C257.3060702@gmail.com> <1296485964.4037.65.camel@zakaz.uk.xensource.com> <4D46D0E9.8030605@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D46D0E9.8030605@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kamala Narasimhan Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Mon, 2011-01-31 at 15:10 +0000, Kamala Narasimhan wrote: > Ian Campbell wrote: > > On Sun, 2011-01-30 at 19:56 +0000, Kamala Narasimhan wrote: > >> The format in which disk information is required in xl block-attach is different > >> than the one expected in the disk configuration option (in the config file). It > >> might make sense to keep the two consistent (excluding the domain/backend dom id > >> additional param block-attach would require). Would it be alright if I enforce > >> it in our implementation (in main_blockattach in xl_cmdimpl.c) and modify > >> block-attach help to reflect that change? > > > > I think it makes sense to have them be the same (or as similar as > > possible). > > > > OOI, do the xm block-attach and xm config syntaxes differ from each too? > > > > I think so. The disk config syntax passed to xm through a config file is > different than xm block-attach syntax. What are the syntaxes and how are they different? I was under the impression that (roughly speaking) the comma separated stuff in the config file simply became the individual arguments to block-attach, is that not the case? Ian.