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: "Anthony Liguori" <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] Patch to xm create search domU config in /etc/xen/auto
From: "Itamar Reis Peixoto" <itamar@xxxxxxxxxxxxxxxx>
Date: Mon, 3 Apr 2006 14:50:34 -0300
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 03 Apr 2006 10:50:05 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
this is a very small patch, Can you fix, aplly  and send for me ?

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