aboutsummaryrefslogtreecommitdiffstats
path: root/tools/examples
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-09-22 18:02:36 +0100
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2010-09-22 18:02:36 +0100
commitea4dce89d478d62341cd2f9d8944e215f7086144 (patch)
treeb876308b4100df10cf2347265339e5bb66a87b1d /tools/examples
parent2dbb423e17aa902de141cc735f0c496f65cd89ba (diff)
downloadxen-ea4dce89d478d62341cd2f9d8944e215f7086144.tar.gz
xen-ea4dce89d478d62341cd2f9d8944e215f7086144.tar.bz2
xen-ea4dce89d478d62341cd2f9d8944e215f7086144.zip
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@eu.citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/examples')
-rw-r--r--tools/examples/xl.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/examples/xl.conf b/tools/examples/xl.conf
index c7bf8c045a..a17069b812 100644
--- a/tools/examples/xl.conf
+++ b/tools/examples/xl.conf
@@ -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"