Subject: Re: rc.d script for starting Xen domains
To: Johnny C. Lam <jlam@pkgsrc.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 10/03/2005 00:13:23
On Sun, Oct 02, 2005 at 06:20:13PM +0000, Johnny C. Lam wrote:
> I've attached the rc.d script that I use to automatically start and
> shutdown Xen unpriviliged domains. The following variables may be
> set in /etc/rc.conf:
>
> xendomains This required variable is a whitespace-separated list
> of Xen domains to start/stop, e.g.
>
> xendomains="dom1 dom2 dom3"
>
> xendomains_cfg This optional variable is a format string that represents
> the path to the configuration file for domains. "%s"
> in the format string is substituted with the name of
> the domain, e.g. xendomains_cfg="/xen/%s/xen.conf".
> The default is "/usr/pkg/etc/xen/%s".
>
> The "xendomains_cfg" shouldn't need to be set if you follow the
> convention used by the Xen how-to guide of naming the config files
> stored in /usr/pkg/etc/xen after the name of the domain.
Hi,
this is nice. Do you have an idea on how to deal with file-backed domains ?
On my production systems I use vnd attached to files for guest domains,
and I've not found a nice scheme to deal with this yet.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--