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

To: Kamala Narasimhan <kamala.narasimhan@xxxxxxxxx>
Subject: Re: [Xen-devel] xl block-attach
From: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Date: Mon, 31 Jan 2011 15:22:59 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 31 Jan 2011 07:23:31 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D46D0E9.8030605@xxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <4D45C257.3060702@xxxxxxxxx> <1296485964.4037.65.camel@xxxxxxxxxxxxxxxxxxxxxx> <4D46D0E9.8030605@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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?


Xen-devel mailing list

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