|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH 7 of 8] xl: free memory before building a domain
On Fri, 27 Aug 2010, Christoph Egger wrote:
> On Friday 27 August 2010 13:19:19 Stefano Stabellini wrote:
> > xl: free memory before building a domain
> >
> > Free the needed amount of memory before proceeding with the domain
> > build.
> > Use a filelock to prevent other xl instances from conflicting during
> > this operation.
> >
> > Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
> >
> > diff -r b80a1688b5c9 tools/examples/xl.conf
> > --- a/tools/examples/xl.conf Thu Aug 26 18:03:20 2010 +0100
> > +++ b/tools/examples/xl.conf Thu Aug 26 18:26:04 2010 +0100
> > @@ -3,3 +3,6 @@
> > # automatically balloon down dom0 when xen doesn't have enough free
> > # memory to create a domain
> > autoballon=1
> > +
> > +# full path of the lockfile used by xl during domain creation
> > +lockfile="/var/lock/xl"
> > diff -r b80a1688b5c9 tools/libxl/xl.c
> > --- a/tools/libxl/xl.c Thu Aug 26 18:03:20 2010 +0100
> > +++ b/tools/libxl/xl.c Thu Aug 26 18:26:04 2010 +0100
> > @@ -34,6 +34,7 @@
> >
> > xentoollog_logger_stdiostream *logger;
> > int autoballoon = 1;
> > +char *lockfile = "/var/lock/xl";
>
> NetBSD doesn't have /var/lock. Is it ok to use /var/lib ?
>
you can set it in the global xl config file to /var/lib or anything you
want.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|