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] Patch to xm create search domU config in /etc/xen/auto

To: Itamar Reis Peixoto <itamar@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Patch to xm create search domU config in /etc/xen/auto
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Mon, 03 Apr 2006 12:56:31 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Apr 2006 10:56:57 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <000801c65747$1d242380$0100000a@lualele>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <001901c65733$e270a6e0$0100000a@lualele> <44314FAF.3090709@xxxxxxxxxx> <000801c65747$1d242380$0100000a@lualele>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mail/News 1.5 (X11/20060309)
Itamar Reis Peixoto wrote:
this is a very small patch, Can you fix, aplly  and send for me ?

The DCO process *requires* that you add a Signed-off-by line. You have to do it, no one else can.

It's up to Ewan to decide whether it should be applied after that as he maintains Xend. You also should add [PATCH] to your subject line when you resend it to make sure he sees it.

I don't think adding the additional search path is useful as it's specific xendomains (which is somewhat independent on Xend). I think a more compelling approach would be to use an environmental variable as a search path so that you could appropriately set it in your environment.


Anthony Liguori

I will send patches correctly next time, I am sorry

this  patch include /etc/xen/auto in search path when creating a domU

domU configs can be stored in

* /etc/xen
* /etc/xen/auto - when dom0 is rebooted all domU´s with config file is stored in this directory is automatic started by /etc/init.d/xendomains

when I run xm create the xm search for domU config only in
* current directory
* /etc/xen

with this patch xm will search in

* current directory
* /etc/xen
* /etc/xen/auto

without this patch to start a domU I need to run

xm create /etc/xen/auto/mydomU

with this patch I can start a domU with

xm create mydomU

Xen-devel mailing list